diff options
Diffstat (limited to 'hugofs/fileinfo.go')
-rw-r--r-- | hugofs/fileinfo.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hugofs/fileinfo.go b/hugofs/fileinfo.go index af37fce7e..d923d632d 100644 --- a/hugofs/fileinfo.go +++ b/hugofs/fileinfo.go @@ -31,6 +31,7 @@ import ( "errors" "github.com/gohugoio/hugo/common/hreflect" + "github.com/gohugoio/hugo/common/htime" "github.com/spf13/afero" ) @@ -203,7 +204,7 @@ func newDirNameOnlyFileInfo(name string, meta *FileMeta, fileOpener func() (afer m.IsOrdered = false return NewFileMetaInfo( - &dirNameOnlyFileInfo{name: base, modTime: time.Now()}, + &dirNameOnlyFileInfo{name: base, modTime: htime.Now()}, m, ) } |