-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
Is there a way to clarify the documentation (with more examples) on the timezone attribute for date filters? I am currently getting an off-by-a-day issue (while working at 2:52am, in Baltimore, in July). My data source clearly shows that each date value is actually the day following what my template displays.
I am having trouble figuring out how to fix this.
When I try:
{{maxdate | date 'MMMM D, YYYY', 'UTC'}}
or
{{maxdate | date 'MMMM D, YYYY', 'UTC-5'}}
or:
{{maxdate | date 'MMMM D, YYYY', 'America/New York'}}
or
{{maxdate | date 'MMMM D, YYYY', 'America/New_York'}}
I get null values.
But when I do:
{{maxdate | date 'MMMM D, YYYY'}}
I get the wrong date.
Metadata
Metadata
Assignees
Labels
No labels