diff options
Diffstat (limited to 'hugolib/content_factory.go')
-rw-r--r-- | hugolib/content_factory.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hugolib/content_factory.go b/hugolib/content_factory.go index e6e82979f..0a4d0aa0a 100644 --- a/hugolib/content_factory.go +++ b/hugolib/content_factory.go @@ -20,6 +20,7 @@ import ( "strings" "time" + "github.com/gohugoio/hugo/common/htime" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/source" @@ -70,7 +71,7 @@ func (f ContentFactory) ApplyArchetypeTemplate(w io.Writer, p page.Page, archety d := &archetypeFileData{ Type: archetypeKind, - Date: time.Now().Format(time.RFC3339), + Date: htime.Now().Format(time.RFC3339), Page: p, File: p.File(), } |