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);
to:
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.