Home › Forums › Front-end Issues › Date picker language front-end › Reply To: Date picker language front-end
Hi, my date picker field is still not getting the translated value after using the snippet above. I have read this could be a bug after WordPress 5.3?
I am using WordPress 5.5 + ACF PRO 5.9.0 + Polylang Pro 2.8.1 and the following code:
wp_date("F Y", strtotime(get_sub_field('date')));
wp_date is the alternative to date_i18n after WordPress 5.3. date_i18n is giving me the month text only in English too.
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.