I am creating a Flow that is scheduled to send an email and I would like the scheduledAt datetime to be shown in my timezone.
Printing the date without the timezone works:
{{scheduledAt | date: "%Y-%m-%d %H:%M %Z"}}
I tried this but it didn’t work:
{{scheduledAt | in_time_zone: 'America/Los_Angeles' | date: "%Y-%m-%d %H:%M %Z"}}
Error:
Liquid syntax error: Unexpected character in “{{scheduledAt | in_time_zone: ‘America/Los_Angeles’ | date: “%Y-%m-%d %H:%M %Z”}}”
I saw a few other questions asking similar questions about printing out the current datetime and the answer was to use Javascript, but I don’t think that will work in an email for a specific datetime variable.
Is it possible to print the datetime such from scheduledAt in a specific timezone other than UTC in a Flow workflow generated email?