1

If I include the order date in my order confirmation email template via ...

Order Date: {{var order.created_at}}

..., the resulting order confirmation emails contain the order date in UTC/GMT time. I would prefer the date to be shown in the timezone configured for the store. How to do that?

2
  • did you get any solution ?
    – Pawan
    Oct 9, 2018 at 17:10
  • No - the entire task (with this subtask) was taken over by a remote colleague. I do not know if or how he fixed it, sorry.
    – hey
    Oct 9, 2018 at 20:53

1 Answer 1

0

The Timezones are configured par website and not per storeview, so you can set them for the website who contain all the storeviews.

Admin > Stores > Configuration > General > Locale Options > Timezone > GMT (UTC)

1
  • Thanks @prince; I had the correct timezone set in that place already. We operate multiple websites; timezones are set appropriately in the websites. Sorry for confusing the wording. Order time in email templates is still shown in UTC.
    – hey
    Sep 18, 2018 at 4:11

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.