Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0BD53200BF3 for ; Thu, 5 Jan 2017 10:13:20 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0A964160B26; Thu, 5 Jan 2017 09:13:20 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5C589160B27 for ; Thu, 5 Jan 2017 10:13:19 +0100 (CET) Received: (qmail 45243 invoked by uid 500); 5 Jan 2017 09:13:18 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 45225 invoked by uid 99); 5 Jan 2017 09:13:18 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2017 09:13:18 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 12680DF9F9; Thu, 5 Jan 2017 09:13:18 +0000 (UTC) From: kosssi To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org References: In-Reply-To: Subject: [GitHub] cordova-plugin-globalization issue #53: CB-11154: (Android, iOS) Add IANA ti... Content-Type: text/plain Message-Id: <20170105091318.12680DF9F9@git1-us-west.apache.org> Date: Thu, 5 Jan 2017 09:13:18 +0000 (UTC) archived-at: Thu, 05 Jan 2017 09:13:20 -0000 Github user kosssi commented on the issue: https://github.com/apache/cordova-plugin-globalization/pull/53 Thanks @shazron - [x] update https://github.com/MSOpenTech/cordova-plugin-globalization to https://github.com/apache/cordova-plugin-globalization - [x] I fix timezone test: ``` expect(a.timezone).toBeDefined(); expect(typeof a.timezone).toBe('string'); if (!isBrowser) { // The browser platform partially supports 'timezone'. Only Chrome returns 'timezone' property. // Its format is "Part of the world/{City}". Other browsers return empty string. // https://github.com/MSOpenTech/cordova-plugin-globalization/blob/21f8a0ffa5aa2497ee970b6b5092b4c65fc4bf7e/README.md#browser-quirks-4 expect(a.pattern.length > 0).toBe(true); } expect(a.timezone.length > 0).toBe(true); ``` to ``` expect(a.timezone).toBeDefined(); expect(typeof a.timezone).toBe('string'); if (!isBrowser) { // The browser platform partially supports 'timezone'. Only Chrome returns 'timezone' property. // Its format is "Part of the world/{City}". Other browsers return empty string. // https://github.com/apache/cordova-plugin-globalization/blob/21f8a0ffa5aa2497ee970b6b5092b4c65fc4bf7e/README.md#browser-quirks-4 expect(a.timezone.length > 0).toBe(true); } ``` - [x] Add test to timezone_iana --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org