Fix timestamp_custom example (#20739)

This commit is contained in:
Daniel D'Abate 2021-12-18 15:57:46 +01:00 committed by GitHub
parent 68b7e69d1c
commit c8dda7478f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -691,7 +691,7 @@ The following overview contains a couple of options to get the needed values:
# Timestamps
{{ value_json.tst | timestamp_local }}
{{ value_json.tst | timestamp_utc }}
{{ value_json.tst | timestamp_custom('%Y' True) }}
{{ value_json.tst | timestamp_custom('%Y', True) }}
```
{% endraw %}