Hi, Experts,
If I choose the date 1/30/2009, it converts it to 1/2/2009. It seems the bug of magicDateToJSDate function in xforms-min.js. Does someone get the same problem? Will this be fixed in coming version? Thank you for your answer. cheney |
Hi Cheney,
Just fighting the same bug here, problem is in the xforms-min.js file, just change the function where the cunstruction var X = new Date(); X.setDate(....); X.setMonth(....); X.setYear(...); Always to var X = new Date(); X.setYear(...); X.setMonth(....); X.setDate(....); Its in for a couple of places, but make sure to set the year, month and then the date Regards Ramon cheney zhao schreef: > Hi, Experts, > If I choose the date 1/30/2009, it converts it to 1/2/2009. It seems the bug > of magicDateToJSDate function in xforms-min.js. Does someone get the same > problem? Will this be fixed in coming version? Thank you for your answer. > > > cheney > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
In reply to this post by cheney zhao
Hi Cheney,
If you use 3.7 then see the attached js (zipped) there i fixed the order of setting the date. I think this should work Regards Ramon cheney zhao schreef: > Hi, Experts, > If I choose the date 1/30/2009, it converts it to 1/2/2009. It seems the bug > of magicDateToJSDate function in xforms-min.js. Does someone get the same > problem? Will this be fixed in coming version? Thank you for your answer. > > > cheney > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws xforms-min.zip (45K) Download Attachment |
Hi Ramon,
It works with attached js you provided. Thank you very much! Regards, cheney
|
no probs
cheney zhao schreef: > Hi Ramon, > > It works with attached js you provided. Thank you very much! > > Regards, > > > cheney > > > RdeBeijer wrote: > >> Hi Cheney, >> >> If you use 3.7 then see the attached js (zipped) there i fixed the order >> of setting the date. >> I think this should work >> >> Regards Ramon >> >> >> cheney zhao schreef: >> >>> Hi, Experts, >>> If I choose the date 1/30/2009, it converts it to 1/2/2009. It seems the >>> bug >>> of magicDateToJSDate function in xforms-min.js. Does someone get the same >>> problem? Will this be fixed in coming version? Thank you for your answer. >>> >>> >>> cheney >>> >>> >> >> >> -- >> You receive this message as a subscriber of the [hidden email] mailing >> list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> OW2 mailing lists service home page: http://www.ow2.org/wws >> >> >> > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |