{% set_timezone %}

Use this tag to update the default timezone to use when rendering dates and times on the page.

Syntax

{% set_timezone expression %}

Examples

{% set_timezone "America/Indianapolis" %}
{% var timezone = "UTC" %}
{% set_timezone timezone %}
{% var cityname = "Amsterdam" %}
{% set_timezone "Europe/" | append: cityname %}

Developer Overview

Liquid Markup