When you populate a date into the field via the date picker, it should populate it in with this ISO format: YYYY-MM-DD. This is a format recognized by both strtotime() and jQuery's datepicker. So once you hit save, it should be in correct Finnish format. It sounds like that's not what it's doing in your case? Can you describe more?
We will probably go with predefined date formats that both PHP and jQuery can recognize, as soon as there's time to get into it.
Problem with date format
Started by diegonella, Oct 07 2011 08:10 AM
22 replies to this topic
#22
Posted 27 March 2012 - 10:38 AM
It does. Problem comes later on. This is the scenario:
- I choose second day from January this year from datepicker: 2012-01-02
- I save page, 2012-01-02 is rightly formatted to Finnish date02.01.2012
- I click datepicker again. Datepicker believes it is first day in February...
- This leads to a mess

0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












