Support

Home Forums Event Espresso Premium Date formatting

Date formatting

Posted: January 12, 2016 at 12:59 pm


geoffmartyn

January 12, 2016 at 12:59 pm

Hi,

Can we change the event date and time format to something like 9am – 5pm Monday 1st January, rather than Mon 1st January 2016 9.00am- Mon 1st January 2016 5.00pm

It just seems quite long-winded to always have it in long form.

Thanks

Geoff


geoffmartyn

January 12, 2016 at 1:02 pm

I should add that I know about the WordPress date formatting. I just wanted to know if there was a way of breaking this down further to be more readable for single day events.


Josh

  • Support Staff

January 12, 2016 at 2:32 pm

Hi Geoff,

May I ask where it’s outputting the date with that format when the event occurs on a single date like that?


geoffmartyn

January 12, 2016 at 2:41 pm

Hi Josh,

Sorry – I should have mentioned that. I think I thought I’d put that info. It’s been a long day!

It’s in the confirmation email(s), approved, pending etc and also the invoice and receipt. Within the invoice and receipt, I can see the shortcodes:

[DATETIME_START] – [DATETIME_END]

However, I can’t work out how I would break these down further or reformat them.

Thanks

Geoff


Lorenzo Orlando Caum

  • Support Staff

January 12, 2016 at 3:40 pm

Hi Geoff,

The following shortcodes do not have parameters to change the order of the information:

[DATETIME_START] – [DATETIME_END]

However, you could use these:

[DATE_START]

[DATE_END]

[TIME_START]

[TIME_END]


Lorenzo

The support post ‘Date formatting’ 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