Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8208F10273 for ; Thu, 28 Nov 2013 03:04:40 +0000 (UTC) Received: (qmail 77985 invoked by uid 500); 28 Nov 2013 03:04:38 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 77956 invoked by uid 500); 28 Nov 2013 03:04:37 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 77939 invoked by uid 99); 28 Nov 2013 03:04:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Nov 2013 03:04:35 +0000 Date: Thu, 28 Nov 2013 03:04:35 +0000 (UTC) From: "Colin Bau (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-5458) navigator.globalization.stringToDate with iOS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-5458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13834487#comment-13834487 ] Colin Bau commented on CB-5458: ------------------------------- OK thanks's a lot > 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 > Assignee: Shazron Abdullah > 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)