mootools-datepicker icon indicating copy to clipboard operation
mootools-datepicker copied to clipboard

format problem - re-edit date starts datepicker at January 1970 ???

Open olivdee opened this issue 12 years ago • 6 comments

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?

olivdee avatar Jan 18 '13 10:01 olivdee

anybody???

friendly bump

olivdee avatar Feb 06 '13 09:02 olivdee

is this here somehow dead? if yes, an info would be great, so i could try and find another solution... friendly bump

olivdee avatar Feb 21 '13 13:02 olivdee

I am having the same issue - no time selection, just date

webmasterMeyers avatar Aug 06 '13 13:08 webmasterMeyers

@olivdee @starlingDesign could you make a http://jsfiddle.net reproducing this problem? Thanks!

SergioCrisostomo avatar Jan 26 '14 20:01 SergioCrisostomo

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"

  1. Choose a date (it will be some time in 2014)
  2. 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.

webmasterMeyers avatar Jan 26 '14 21:01 webmasterMeyers

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.

barackbrobama avatar Feb 04 '14 00:02 barackbrobama