I am using EE4 and I need to use an Australian date format in my registration form. I have updated the date format in the WordPress General settings, but this has not worked. We have not made any customisations to this, and I am wondering if there were any suggestions for this. I noticed a few other forum topics on this, but did not see a clear answer for the issue.
Looks like it is using the jQuery Datepicker default (US of course), and I can’t see a way of changing it without modifying a core file.
I’ll raise ticket to look into this.
If you do want to modify the core file, which we don’t really recommend, you would need to look at /wp-content/plugins/event-espresso-core-reg/core/templates/global_assets/scripts/form_section_validation.js, and at line ~68 where it says yearRange: eei18n.datepicker_yearRange change it to say:
Thanks for this, great support. Wondering if there are issues with updating a core file beyond it being overwritten with future upgrades? This would be something that we can manage.
Well I would back up the file first just in case, but I can’t see any issues with that change as it’s relatively minor, and shouldn’t affect registrations, just the answer to those question types.
The support post ‘DOB format in registration form’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.