mootools-datepicker
mootools-datepicker copied to clipboard
format problem - re-edit date starts datepicker at January 1970 ???
i was trying to set the format view of the date + time picked by the datetimepicker. i used for this: format: '%d-%m-%Y %H:%M' it works, it shows up date + time in the input fields the way i want it!
yesterday i realized, that if i re-enter the input field in order to adjust / correct date and/or time, the datepicker opens up at January 1970 ???
is this a bug, or did i miss something out?
anybody???
friendly bump
is this here somehow dead? if yes, an info would be great, so i could try and find another solution... friendly bump
I am having the same issue - no time selection, just date
@olivdee @starlingDesign could you make a http://jsfiddle.net reproducing this problem? Thanks!
It took me a while to remember where I was using this.
The website is live, and still has the error. (Please don't submit the form)
goto http://www.wellnesscheck.ca/ and click the "register today" button on the top right. (pops up a form in an iFrame via CeraBox)
The second line, "Birthdate"
- Choose a date (it will be some time in 2014)
- after the full date has been selected, and the text box is filled out, click the text box to edit the date. It opens at 1969.
Chad
On 14-01-26 4:05 PM, Sergio Crisostomo wrote:
@olivdee https://github.com/olivdee @starlingDesign https://github.com/starlingDesign could you make a http://jsfiddle.net reproducing this problem? Thanks!
— Reply to this email directly or view it on GitHub https://github.com/arian/mootools-datepicker/issues/132#issuecomment-33328496.
Looks like it has issues parsing dates in D-M-Y format. I was having the same problem using D-M-Y but M-D-Y would confuse users being in Australia. So I switched it to Y-M-D and it works fine now.