Page 2 of 2

Having Trouble opening app on iPhone.

Posted: Mon Mar 10, 2014 3:08 pm
by Shawn Johnson

Hello, I am also having this issue, in preview in chrome the date is shown correctly but on IOS/Safari/Firefox i get a NAN/NAN/NAN

I used the code form the link ask the last person read.
Image

what am i missing ?


Having Trouble opening app on iPhone.

Posted: Tue Mar 11, 2014 6:21 pm
by Nikita

Hello,

Could you provide a mapping to which you add this code?


Having Trouble opening app on iPhone.

Posted: Tue Mar 11, 2014 6:47 pm
by Shawn Johnson

here is the mapping Image


Having Trouble opening app on iPhone.

Posted: Wed Mar 12, 2014 3:22 am
by Igor

Please replace your code with the following one:
pre
code
var arr = value.split(/[- :]/);
var date = new Date(arr[0], arr[1]-1, arr[2], arr[3], arr[4], arr[5]);
return jQuery.datepicker.formatDate("dd/mm/yy", date);
/code
/pre


Having Trouble opening app on iPhone.

Posted: Wed Mar 12, 2014 4:14 am
by Shawn Johnson

that fixed the issue. Thank you