0

I am trying to print the store timezone in order confirmation email. In my email template, I have added the order date as follows,

<div >{{trans ' Order Placed on <span >%created_at</span>' created_at=$order.getCreatedAtFormatted(2) |raw}}</div>

I have set the time zone for the store as

enter image description here

But in my order confirmation email, I am not able to see the time zone with the date. It just shows as,

Placed on Dec 26, 2019, 3:40:30 PM.

I would like to add he timezone after the time in order confirmation email. Anyone know how to do this ?

1 Answer 1

0

Most easy way... change the template code to created_at=$order.getCreatedAtFormatted(1) |raw

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.