• Hi,
    is there a way to show the date in YYYY-MM-DD (for example) format everywhere in frontend? (pdb-list, pdb-record, pdb-signup, etc.)

    I have a problem. In the edit page, I am shown a date format (27 October 1983) that when I press the SAVE button, not being what the system expect (1983/10/27), the field is cleared..

    How can i solve this problem?

    Thanks for any reply ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Dates are interpred by php, which is pretty good with a lot of formats, but you can give it a date it can’t figure out. The plugin uses your global “Date Format” setting for hints as to the date format, so setting your WordPress Date Format setting to display a date in the same format you want to type in can help.

    If that doesn’t fix it, you may need to use “Strict Dates” which is a pair of settings in Participants Database under the advanced tab. The problem with strict dates is that it will only interpret dates entered with the one format you define. If you use strict dates, you should tell your users the exact format to use, you can even enforce it with a regex validation if you want.

    Another way to solve this issue is to use the Datepicker add-on, which will provide a pop-up where the user can select the date instead of typing it in.

    Thread Starter ranone

    (@ranone)

    Tks for you reply ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Date field output format’ is closed to new replies.