Skip to content

Commit

Permalink
Import time/tzdata on Windows
Browse files Browse the repository at this point in the history
Updates #8892
  • Loading branch information
bep committed Aug 14, 2021
1 parent 32ead4b commit 58b6742
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion commands/hugo_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 58b6742

Please sign in to comment.