acf-field-date-time-picker icon indicating copy to clipboard operation
acf-field-date-time-picker copied to clipboard

Not be able to change the year

Open solagirl opened this issue 10 years ago • 1 comments

Hi, I found an issue and here is the details. I have a datetime field on post, if I already saved a datetime for a post then tries to edit it, I can't change the year, no matter what I do the result won't change. The only way I can modify it is to delete the string first and then select again.

I remember seeing a log message from firebug console saying the date format is not correct when I tries to modify the year. This happens in the previous version. With the latest version ( ACF is latest as well), the log message is gone but the issue remains.

I tested with WordPress 3.8.3 and 3.9. Could you please take a look at this issue. Thank you!

solagirl avatar Apr 21 '14 04:04 solagirl

I have the same issue in the same situation. When the options page gets saved the year and day get swapped around and then won't be set back correctly. So in the format d/m/y I'll set a date to 14/6/15 and once saved it will return 15/6/14.

I should add that I have multiple instances of the date & time picker on teh same options page.

I'm using latest wordpress, acf 4.3.8 and version 2.0.14 of this plugin.

Many thanks

** Update - using a date format of d/m/yy seems to have solved it.

wesleyburden avatar May 27 '14 14:05 wesleyburden