Topic: Calender_date_Selecta gem issue?

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.
It swap month and  date positions, how it is possible?

Let me know any one for this issue , please.

Thanks,
prasad.

Last edited by prasad_nyros (2011-06-06 23:03:46)

Re: Calender_date_Selecta gem issue?

prasad_nyros wrote:

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.
It swap month to date , how it is possible?

Let me know any one for this issue , please.

Thanks,
prasad.

is  not understand anyone ????????????

pelase help meeeeeee?

sorry for my bad english.

Please let me know any one .......

Last edited by prasad_nyros (2011-06-07 23:57:32)