Jamie Clarke created CB-3736:
--------------------------------
Summary: 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
Priority: Critical
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