diff options
author | Bjørn Erik Pedersen <[email protected]> | 2022-05-07 14:10:32 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-05-08 16:56:26 +0200 |
commit | 35c88a7f907f20652e4e55697c0c438da0c4d57d (patch) | |
tree | 0c4d5b9fc4b40e34dc59c2063d2a451b020b1cd5 /tpl | |
parent | e77ca3c105bd64c5077d823d2127f6f812a4f681 (diff) | |
download | hugo-35c88a7f907f20652e4e55697c0c438da0c4d57d.tar.gz hugo-35c88a7f907f20652e4e55697c0c438da0c4d57d.zip |
Use configured timeZone for the clock
And some other related adjustments.
Updates #8787
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/time/init.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tpl/time/init.go b/tpl/time/init.go index 7dd71f210..4bb2ddf67 100644 --- a/tpl/time/init.go +++ b/tpl/time/init.go @@ -28,7 +28,6 @@ func init() { if d.Language == nil { panic("Language must be set") } - ctx := New(langs.GetTimeFormatter(d.Language), langs.GetLocation(d.Language)) ns := &internal.TemplateFuncsNamespace{ |