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

navigator.globalization.stringToDate with iOS

    XMLWordPrintableJSON

Details

    Description

      I am using phonegap build 2.9 and ipad mini 7.04

      navigator.globalization.stringToDate('9/25/2012',function(date)

      { alert('success');}

      ,function ()

      { alert('fail'); }

      ,

      {selector:'date'}

      );

      in Android
      when I set selector "date", it will alert "success"
      when I set selector "time", it will alert "fail"
      when I set selector "date and time", it will alert "fail"

      in iOS
      when I set selector "date", it will also alert "fail"
      when I set selector "time", it will alert "fail"
      when I set selector "date and time", it will alert "fail"

      why I set "date" will be "success" in Android,but "date" will "fail" in iOS

      Attachments

        Activity

          People

            shazron Shazron Abdullah
            bau720123 Colin Bau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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