datepicker field bug: after saving the date is one day before
-
We are using ACF 6.3.1 and we noticed following bug:
When entering a date (or picking via calendar), after saving the post, the box is showing a wrong date – one day before the saved date.
In database the date is correct. After saving it is another day less, so it returns with every saving. And it is reproducible.
For example: we save 19th june 2024. After saving the field shows 18th june 2024. In database the date is 19th june.
When we click “save” again, the date in database is changed to 18th june and in editor 17th June is shown.In database the format is like 20240619.
Viewing format is d.m.Y. (so 19.06.2024), return format is Y-m-d (so 2014-06-19) but for filtering with WP queries that does not work fine and we have to use the Ymd format.
Thanks for your help!
- You must be logged in to reply to this topic.