Message Template - OrderPlaced.CustomerNotification

Monday, November 25, 2024 5:24:06 PM
  • Posted: Wednesday, June 16, 2021 2:30 PM
  • 2
Hi, I would like to know how I change the date format sent in the email to the consumer. Today it is being sent in English format, I would like to send it in pt-BR.

Example : Data do pedido: Wednesday, 16 June 2021
0
  • Posted: Thursday, June 17, 2021 8:28 AM
  • Team
  • 152
Hello,

Please try something like this: {{ SomeDateField | date:"MMMM dd, yyyy" }}

Regards
Krzysztof
0
  • Posted: Thursday, June 17, 2021 11:36 AM
  • 2
Unfortunately it didn't work.
It would be like this ? -> <p> <strong>Data do pedido:</strong> {{Order.CreatedOn | date:"dd MMMM, yyyy"}} </p>
0
  • Posted: Friday, June 18, 2021 5:47 AM
  • Team
  • 152
Correct field for formating by date is Order.CreatedOnUtc, so it should be like this: {{Order.CreatedOnUtc | date:"dd MMMM, yyyy"}}
0
back to top
Filters