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