[
https://issues.apache.org/jira/browse/CB-3736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13681571#comment-13681571
]
ASF subversion and git services commented on CB-3736:
-----------------------------------------------------
Commit 736dd4952650f4f422dbb006a71644e41d55d0a3 in branch refs/heads/master
from [~bowserj]
[
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-globalization.git;h=736dd49
]
CB-3736: Cleaning up code so that it's more readable. Same change that was
made to 2.x repo
> navigator.globalization.getDatePattern always returns "dd/MM/yyyy HH:mm"
> ------------------------------------------------------------------------
>
> Key: CB-3736
> URL: https://issues.apache.org/jira/browse/CB-3736
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.7.0
> Environment: Test device version: 4.2.1
> Reporter: Jamie Clarke
> Assignee: Joe Bowser
>
> Using the snippet from the cordova documentation the result is always
> "dd/MM/yyyy HH:mm" no matter what options are provided. In comparison
> dateToString works fine.
> Snippet:
> {code:javascript}
> navigator.globalization.getDatePattern(
> function (date) {alert('pattern: ' + date.pattern + '\n');},
> function () {alert('Error getting pattern\n');},
> {formatLength:'short', selector:'date'}
> );
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira