Version 3.1.21.P has been out of date for nearly 2 years now. As such it isn’t supported, and I would strongly suggest updating.
The latest version of Event Espresso works in a way that the invoice date format is based on the WordPress date settings, so if your WordPress dates are dd/mm/yyyy, then that’s what will appear on the invoice.
If you must stay on that version, then your only solution would be to edit the invoice template directly.
In the gateway/invoice/template.php on line 118 you will see
Hi Dean,
Thank you so much for your help on this.
We are definitely planning to upgrade but we need to live with an event ASAP that’s why we need to patch it now.
I have one more question please.
The date against the event on the invoice is also American format. Can that be fixed as well?
Yes it can, basically anywhere in that file where it says ‘m-d-Y’, change it to get_option(‘date_format’) like in the example above.
I believe the only two instances of this are on lines 118 and 164 (approx.)
Viewing 3 reply threads
The support post ‘Date format on the invoice’ 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.