Home › Forums › Front-end Issues › ACF Date Picker (date output) › Reply To: ACF Date Picker (date output)
Ha 🙂 I thought you were trying to get it in french the whole time…
No big deal, just change the “setlocale” line of code to this:
setlocale(LC_ALL, array('en_GB.UTF8','en_GB','english'));
This sets up everything for UK english. If you want USA english:
setlocale(LC_ALL, array('en_US.UTF8','en_US','english'));
You can specify the values either in an array (like i did here) or as a sequence of string (as shown above with the french example).
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.