Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7790

"navigator.globalization.getDateNames" strange problem in wp8

    XMLWordPrintableJSON

    Details

      Description

      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 ?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bau720123 Colin Bau
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 12h
                12h
                Remaining:
                Remaining Estimate - 12h
                12h
                Logged:
                Time Spent - Not Specified
                Not Specified