aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2022-05-07 14:10:32 +0200
committerBjørn Erik Pedersen <[email protected]>2022-05-08 16:56:26 +0200
commit35c88a7f907f20652e4e55697c0c438da0c4d57d (patch)
tree0c4d5b9fc4b40e34dc59c2063d2a451b020b1cd5 /tpl
parente77ca3c105bd64c5077d823d2127f6f812a4f681 (diff)
downloadhugo-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.go1
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{