hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 58b6742cfeb6d4cd04450cbe9592209510c2b977
parent 32ead4b1e73c3388a90dc5ef5661cdb264227d29
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat, 14 Aug 2021 12:09:41 +0200

Import time/tzdata on Windows

Updates #8892

Diffstat:
Mcommands/hugo_windows.go | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git 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