Skip to content
Permalink
Browse files
Import time/tzdata on Windows
Updates #8892
  • Loading branch information
bep committed Aug 14, 2021
1 parent 32ead4b commit 58b6742cfeb6d4cd04450cbe9592209510c2b977
Showing with 7 additions and 1 deletion.
  1. +7 −1 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

0 comments on commit 58b6742

Please sign in to comment.