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
So. this problem has been giving me problems for a year. I had a custom post type with custom page template. I was calling – date() in my template. I realized that i had to change every instance of date() to wp_date(). For instance i had a if(date('D') == 'Sun')
i changed to if(wp_date('D') == 'Sun')
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.