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

Time picker empty after saving page

Open chandraprinovis opened this issue 10 years ago • 6 comments

Hi All,

I tried the date time picker on . wordpress version - 4.0.1 Date and Time Picker - 2.0.18.1 Advanced Custom Fields Pro- Version 5.1.6 After choosing time, when I click Update to save the page , the time field gets cleared.

Do you have any recommendations?

Best regards, chan.

chandraprinovis avatar Jan 28 '15 13:01 chandraprinovis

I have the same problem with the latest version.

pfhenley86 avatar Feb 12 '15 16:02 pfhenley86

I fixed it by using the Jquery UI date format. http://api.jqueryui.com/datepicker/

pfhenley86 avatar Feb 12 '15 17:02 pfhenley86

Hi Pfhenley86,

Could you please tell in detail how you fixed it. Thanks and regards chan

chandraprinovis avatar Feb 12 '15 18:02 chandraprinovis

In the field settings use the jquery date formatting. I was using php date formatting. On Feb 12, 2015 12:08 PM, "chandraprinovis" [email protected] wrote:

Hi Pfhenley86,

Could you please tell in detail how you fixed it. Thanks and regards chan

— Reply to this email directly or view it on GitHub https://github.com/soderlind/acf-field-date-time-picker/issues/76#issuecomment-74120824 .

pfhenley86 avatar Feb 12 '15 18:02 pfhenley86

I got the same issue with ACF Pro 5.2.0, WP 4.1.1, and the latest version of this plugin (2.0.18.1). I am using the recommended formatting (http://api.jqueryui.com/datepicker/ and http://trentrichardson.com/examples/timepicker/#tp-formatting).

lukasbesch avatar Mar 09 '15 12:03 lukasbesch

If i change the date format from mm/dd/yy to yy.mm.dd. than it dissapears for me as well. (WP 4.1.1, ACF Pro 5.2.1, Date and Time picker 2.0.18.1)

Koli14 avatar Mar 11 '15 10:03 Koli14