google-code-export / calendardateselect

Automatically exported from code.google.com/p/calendardateselect
Other
0 stars 0 forks source link

Loosing state on validation #169

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create new item with default date
2. Call "new"
3. Fail validation
4. Datetimeselect is empty (even if I changed default value)

What is the expected output? What do you see instead?

I expect it to preserve stete, instead is't empty. If I use regular
datetime picker, value is preserved and it overrides value picked in
datetimeselect.

What version of the product are you using? On what operating system?

WindowsXP, latest 

Please provide any additional information below.

Original issue reported on code.google.com by kresimir...@gmail.com on 23 May 2009 at 4:21

Attachments:

GoogleCodeExporter commented 9 years ago
It has to do with localisation. Formad dd.mm.yyyy is interpreted as mm.dd.yyyy

Here is a fix, please use it in the main branch :)
http://github.com/timcharper/calendar_date_select/tree/jonas 

Original comment by kresimir...@gmail.com on 23 May 2009 at 11:47