Support

Home Forums Event Espresso Premium 24h time format instead of 12h in admin

24h time format instead of 12h in admin

Posted: June 3, 2021 at 11:31 am


michael@joomlakonsulenten.dk

June 3, 2021 at 11:31 am

Hi,

In the front the time format is correct, but in the ticket in admin the time format is 12h. I need 24h.

How do I change that?

The global time format in WP is correct.

/Michael


Tony

  • Support Staff

June 7, 2021 at 5:55 am

Hi there,

You’ll need to use a snippet to change the datepicker format, Josh previously posted an example of this here:

https://eventespresso.com/topic/localisation-of-datepicker-in-ee4/#post-171758

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


michael@joomlakonsulenten.dk

June 9, 2021 at 1:23 am

Hi,

I have followed the suggestion made here: https://eventespresso.com/topic/localisation-of-datepicker-in-ee4/#post-171758

The time format 24H is correct for Administrator, but for Event Administrator the time format is still 12H.

How to fix?

/Michael


Tony

  • Support Staff

June 9, 2021 at 3:47 am

Hi there,

I’ve merged your new thread into your previous one as they relate to the same issues.

Where did you add the above code on the site?

That snippet is working as expected for me: https://monosnap.com/file/QhMCb5ZpdeBgi9bRlsTBEElPr38BOq

The support post ‘24h time format instead of 12h in admin’ 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.

Event Espresso