timcharper / calendar_date_select

A previously popular but no longer maintained JavaScript DatePicker for RubyOnRails (and others)
http://code.google.com/p/calendardateselect/
Other
409 stars 179 forks source link

CalendarDateSelect.format = :american issue ? #21

Open bdurgaprasad-nyros opened 13 years ago

bdurgaprasad-nyros commented 13 years ago

Hi , while i am using this gem i get wondering error.

In environment file:

CalendarDateSelect.format = :american # for i want MM/DD/YYYY format all setup fine calendar date picker fire . When i click 09/06/2011 it show in textfield after select but save in data base as 06-09-2011.

When validations fail form back it selects 06/09/2011 instead of 09/06/2011 . It swap month to date , how it is possible? Let me know any one for this issue , please.

Thanks, prasad.

ghost commented 11 years ago

I know this is a very old post, but did you ever get an answer to this problem?