Home › Forums › Bug Reports › Date Picker fields in Repeaters gone wrong after WP 5.3 update › Reply To: Date Picker fields in Repeaters gone wrong after WP 5.3 update
I received this from support:
“The new wordpress update has brought some changes to date_i18n()
I believe the issue you are experiencing is due to a change in the
date_i18n() function causing values to be modified via the timezone setting.
This issue does not effect the value saved into the DB, but occurs when loading and “formatting” the value.
We have a few similar bug reports at this time, and will investigate this shortly.
For now, can you please try the following fix: Edit the file “includes/api/api-helpers.php” on line 4117 and change from:
return date_i18n($format, $unixtimestamp);
return wp_date($format, $unixtimestamp);”
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
The ACF site is currently experiencing some issues.— Advanced Custom Fields (@wp_acf) September 29, 2022
We apologize for the inconvenience and we are working hard to get it back up and running as soon as possible.
© 2022 Advanced Custom Fields.