Support

Account

Home Forums Front-end Issues Date format in dutch language

Solved

Date format in dutch language

  • Hello,

    I’m using the date picker field to filter posts and that is working great, but i’ve run into a small problem with the date format.

    The website is in dutch, but the dates are formatted in English like so ;

    JAN FEB MAR APR MAY JUN JUL AUG SEPT OCT NOV DEC

    Is there a way so that this will be formatted in dutch? Is it possible so that the datepicker field uses the language of the WordPress installation?

    Hope to hear from you,

    Thanks!

  • Hi @jusseb

    Can you please confirm if you are talking about the backend or the front end?

    The ACF datepicker field (available in the core ACF plugin) translates all it’s strings, so if your backend should be correctly showing dutch translations.

    If now, there is a bug which we need to look into

  • Hi Elliot,

    I’m talking about the front end of the website. It shows the date formats in English, but my WordPress installation is in Dutch.

    I use the standard jQuery datepicker function from ACF but not the add-on. Which one should I use, or doesn’t that make any difference?

    Thanks!

  • Hi @jusseb

    Continue to use the standard date picker in ACF.
    There is a code example on the date picker field documentation page which will show you how to output the translated date:
    http://www.advancedcustomfields.com/resources/field-types/date-picker/

    Thanks
    E

  • Thanks Elliot, that did the trick!

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Date format in dutch language’ is closed to new replies.