timezone Properties

Stores the timezone that should be used when displaying a date and/or time.

Field Type Description
object_type string Will always be "timezone".
is_valid True|False True if the value is a valid timezone string.
value string timezone string.
output html timezone string.
output_in_list html Same as output.
field_id string The identifier for this field.
default_value string The default value for this field if no value is specified.


To timezone filter

{{ article.post_date | to_timezone: session.user_timezone }}

To timezone filter with formatting

{% if entity.alt_timezone.is_valid %} {{ entity.alt_date | to_timezone: entity.alt_timezone | date: 'f' }} {% endif %}