Support

Account

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).