diff options
author | Bjørn Erik Pedersen <[email protected]> | 2021-08-14 12:09:41 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2021-08-14 12:09:41 +0200 |
commit | 58b6742cfeb6d4cd04450cbe9592209510c2b977 (patch) | |
tree | 3b0d4dce1d2a1d3947fe51162aacd8705c2ed9c4 /commands/hugo_windows.go | |
parent | 32ead4b1e73c3388a90dc5ef5661cdb264227d29 (diff) | |
download | hugo-58b6742cfeb6d4cd04450cbe9592209510c2b977.tar.gz hugo-58b6742cfeb6d4cd04450cbe9592209510c2b977.zip |
Import time/tzdata on Windows
Updates #8892
Diffstat (limited to 'commands/hugo_windows.go')
-rw-r--r-- | commands/hugo_windows.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/commands/hugo_windows.go b/commands/hugo_windows.go index 106c0cc71..1724f12cd 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 |