Hey all,
I’m having an issue with date formatting for future dates. Our business is Australian, so we’re after the DD-MM-YYYY format.
A bit of background: We have a birthday flow that includes a special offer, valid for 30 days. At the bottom of the email, I’ve included T&Cs which includes the expiration date of their offer. The standard format I’ve used (which works just fine) is:
{% today '%m-%d-%Y' as today %} {{ today|days_later:30 }}
However, as soon as I try to introduce formatting to have the date show as DD-MM-YYYY all I see is a blank space in my test sends. Below are a few different variations I’ve tried, all with no luck. Does anyone know if it’s possible change the formatting so it makes sense to our customer base?
{% today '%m-%d-%Y' as today %} {{ today|days_later:30|date:'%d-%m-%Y' }}
{% today '%m-%d-%Y' as today %} {{ today|days_later:30|date:'d-m-Y' }}
{% today '%m-%d-%Y' as today %} {{ today|days_later:30|format_date_string|date:'d-m-Y' }}
Appreciate any support!
Cheers,
Samantha

