From 58b6742cfeb6d4cd04450cbe9592209510c2b977 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 14 Aug 2021 12:09:41 +0200 Subject: [PATCH] Import time/tzdata on Windows Updates #8892 --- commands/hugo_windows.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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