From: Bjørn Erik Pedersen Date: Sat, 14 Aug 2021 10:09:41 +0000 (+0200) Subject: Import time/tzdata on Windows X-Git-Tag: v0.88.0~26 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=58b6742cfeb6d4cd04450cbe9592209510c2b977;p=brevno-suite%2Fhugo Import time/tzdata on Windows Updates #8892 --- diff --git a/commands/hugo_windows.go b/commands/hugo_windows.go index 106c0cc7..1724f12c 100644 --- a/commands/hugo_windows.go +++ b/commands/hugo_windows.go @@ -13,7 +13,13 @@ package commands -import "github.com/spf13/cobra" +import ( + // For time zone lookups on Windows without Go installed. + // See #8892 + _ "time/tzdata" + + "github.com/spf13/cobra" +) func init() { // This message to show to Windows users if Hugo is opened from explorer.exe