filter_utc (zotonic_mod_base v1.0.0-rc.17)

Translates a datetime from local time to UTC.

For example:

{{ id.modified|utc|date:"Ymd:His\\Z" }}

Displays the modification date and time of a resource in Universal Time.

See also

date

Summary

Functions

utc/2