3
Liquid timezone filter
Completed
S
Slav Ivanov

Ability to change the timezone in liquid merge tags.
{{ "now" | timezone: "America/Los_Angeles" }} should output 2021-09-28 05:15:34 -0700

Comments
A
Anil
Oct 22, 2021

FANTASTIC & CONGRATULATIONS!!! Kalo, Slav, and the entire Encharge team. Thank you so much. Great progress!

0
K
Kalo Yankulov
Oct 22, 2021
Set the status to
Completed

This feature is now live.

This feature allows you to set timezones using liquid tags. There are 2 main cases:

 {{“now” | set_timezone: “Europe/Berlin”}}  

Changes the timezone of the time to the specified timezone. For instance, if you use {{person.dateField | set_timezone: “Asia/Jerusalem”}} will keep the same date and time as the "dateField", but treat it as GMT+3.

{{“now” | in_timezone: “Europe/Berlin”}} 

Converts the current time to the specified timezone.

1
A
Anil
Oct 22, 2021

FANTASTIC!!! Kalo, Slav, and the entire Encharge team. Thank you so much. Great progress!

0
S
Slav Ivanov
Sep 28, 2021
Set the status to
In progress
0