cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-3736) navigator.globalization.getDatePattern always returns "dd/MM/yyyy HH:mm"
Date Tue, 11 Jun 2013 00:16:21 GMT

    [ https://issues.apache.org/jira/browse/CB-3736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13680077#comment-13680077
] 

ASF subversion and git services commented on CB-3736:
-----------------------------------------------------

Commit e52d4fc0035546c6bbd93a60f02bd887fddab7cc in branch refs/heads/3.0.0 from [~bowserj]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=e52d4fc ]

CB-3736: Cleaning up code so that this makes more sense. Variables are OK

                
> 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

Mime
View raw message