Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Import time/tzdata on Windows
- Loading branch information
Showing
with
7 additions
and
1 deletion.
-
+7
−1
commands/hugo_windows.go
There are no files selected for viewing
|
|
@@ -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 |
|
|
|