[
https://issues.apache.org/jira/browse/CB-11154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15278873#comment-15278873
]
Simon Constans commented on CB-11154:
-------------------------------------
Hello [~nikhilkh]
When I read the description on the README for me they are already a mistake:
timezone: The abbreviated name of the time zone on the client. (String)
https://en.wikipedia.org/wiki/List_of_time_zone_abbreviations it's first
column, for Paris is CEST.
Actually it's inconsistent for all platforms :
- browser return "Europe/Paris" on chrome
- android return "UTC+02"...
- I think iOS is the same "UTC+02"
If you want use moment.js it's more easy with "Europe/Paris"
I can make a pull request with another name but I think it's not a good idea.
> Why timezone is not IANA ?
> --------------------------
>
> Key: CB-11154
> URL: https://issues.apache.org/jira/browse/CB-11154
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Globalization
> Reporter: Simon Constans
> Labels: triaged
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Hello,
> I don't understand why you don't return correctly the IANA timezone name?
> I think it's a simple information.
> I change my plugin for this repository:
> https://github.com/StyrLabs/cordova-plugin-globalization
> You can see commit:
> - for Android:
> https://github.com/StyrLabs/cordova-plugin-globalization/commit/b251053cc7b0fa0b055544437c8a960afedab530
> - for iPhone:
> https://github.com/StyrLabs/cordova-plugin-globalization/commit/1a67a5a94e45ecc037b3226f96ed3d2fab114c57
> Can you integrate it?
> Simon
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]