cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5458) navigator.globalization.stringToDate with iOS
Date Wed, 27 Nov 2013 18:49:36 GMT

    [ https://issues.apache.org/jira/browse/CB-5458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13834024#comment-13834024
] 

Shazron Abdullah commented on CB-5458:
--------------------------------------

Ok - then you have the wrong issue tracker, this issue tracker is for Cordova, not PhoneGap
Build. I'll try to test your scenario anyway to see if I can replicate - if I can't, it's
possible it's a PhoneGap Build issue (their forum is at http://community.phonegap.com)

> navigator.globalization.stringToDate with iOS
> ---------------------------------------------
>
>                 Key: CB-5458
>                 URL: https://issues.apache.org/jira/browse/CB-5458
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugin Globalization
>    Affects Versions: 2.9.0
>         Environment: ipad mini ios 7.04
>            Reporter: Colin Bau
>              Labels: javascript, test
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message