cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Bau (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-7790) "navigator.globalization.getDateNames" strange problem in wp8
Date Wed, 15 Oct 2014 17:30:35 GMT
Colin Bau created CB-7790:
-----------------------------

             Summary: "navigator.globalization.getDateNames" strange problem in wp8
                 Key: CB-7790
                 URL: https://issues.apache.org/jira/browse/CB-7790
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Globalization
    Affects Versions: 3.6.3
         Environment: phonegap 3.6.3 with all latest plugin
ios 8.02
winphone 8.1
Android 4.42
all real machine
            Reporter: Colin Bau


when I execute these code

navigator.globalization.getDateNames(function(names) {for (var i=0; i<names.value.length;
i++) { alert(i + names.value[i]);}},null,{type:"wide", item:"months"})

[in android and ios,it will return] 
0 1
1 2
2 3
...
...
...
11 12

[in wp8,it will return] 
0 1
1 2
2 3
...
...
...
11 12
12 null <= this line maybe have some problem or Excess ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message