Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
2.9.0
-
None
-
ipad mini ios 7.04
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