- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 8.1k
 
Closed
Labels
Milestone
Description
Case 1: Site Configuration
If an invalid timeZone is specified in the site configuration, the failure is silent. Example:
timeZone = "America/LosAngeles"   # Should be America/Los_Angeles
Case 2: Time Function
If an invalid timezone is specified as the optional second argument to the time function, the failure is also silent (the build continues without error or warning). However, the error is rendered on the page (easy to miss and then inadvertently deploy). Example:
{{ time "2020-07-31T09:29:26" "America/LosAngeles" }}
This renders:
unknown time zone America/LosAngeles