summaryrefslogtreecommitdiffstats
path: root/tpl/time/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/time/init.go')
-rw-r--r--tpl/time/init.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tpl/time/init.go b/tpl/time/init.go
index 4bb2ddf67..7dd71f210 100644
--- a/tpl/time/init.go
+++ b/tpl/time/init.go
@@ -28,6 +28,7 @@ func init() {
if d.Language == nil {
panic("Language must be set")
}
+
ctx := New(langs.GetTimeFormatter(d.Language), langs.GetLocation(d.Language))
ns := &internal.TemplateFuncsNamespace{