You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test data { "recommendation": { "project": { /* ---------------- */ "start_date": "2022-07-04" } } }
We have to pass whole date time, otherwise its not working with formatDate, e.g. "start_date": "2022-07-04T00:00:00Z"
If this is expected behaviour, then preview should not display it or at least test mail sending should not display success message.
Or it would be great if date without time is allowed on formatDate, assuming time is 00:00:00Z.
The text was updated successfully, but these errors were encountered:
Expected Behaviour
Template should be rendered, and test email should be received.
Actual Behaviour
Test email is not received. It works on preview, also on sending test email it says, test email sent successfully, but test email never received
Steps to reproduce it
Email template
<p>{{formatDate recommendation.project.start_date "DD MMM YYYY"}}</p>
Test data
{ "recommendation": { "project": { /* ---------------- */ "start_date": "2022-07-04" } } }
We have to pass whole date time, otherwise its not working with formatDate, e.g.
"start_date": "2022-07-04T00:00:00Z"
If this is expected behaviour, then preview should not display it or at least test mail sending should not display success message.
Or it would be great if date without time is allowed on formatDate, assuming time is 00:00:00Z.
The text was updated successfully, but these errors were encountered: