date_utc_to_local
Add hours to UTC date to get into local timezone
Example
1
{{ '2020-01-15 08:00' | date_utc_to_local: 'Europe/Copenhagen' }} => '2020-01-15 10:00'
Input
| Type | Parameter | Description | Required |
|---|---|---|---|
| string | date | The date & time to timezone adjust. Comes before the | sign. | Required |
| string | timezone | The timezone to show the date in. Defaults to local timezone |
Output
| Type | Description |
|---|---|
| string | The date & time in local timezone |