From b329107079782f86771e2d7d2cebae7c418802cb Mon Sep 17 00:00:00 2001 From: Justin McCarthy Date: Mon, 23 Jul 2018 11:56:44 -0700 Subject: [PATCH] reverting cd89840164ee8044a81d1627e2a1707f7141b3f6 --- internal/model/fs.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/model/fs.go b/internal/model/fs.go index 3da7d63..cdf2693 100644 --- a/internal/model/fs.go +++ b/internal/model/fs.go @@ -108,7 +108,7 @@ func ReadNarratives() ([]*Document, error) { } n.Body = mdmd.body n.FullPath = f.FullPath - n.ModifiedAt = f.ModTime() + n.ModifiedAt = f.Info.ModTime() n.OutputFilename = fmt.Sprintf("%s-%s.pdf", config.Config().FilePrefix, n.Acronym) narratives = append(narratives, n) } @@ -133,7 +133,7 @@ func ReadProcedures() ([]*Procedure, error) { } p.Body = mdmd.body p.FullPath = f.FullPath - p.ModifiedAt = f.ModTime() + p.ModifiedAt = f.Info.ModTime() procedures = append(procedures, p) } @@ -158,7 +158,7 @@ func ReadPolicies() ([]*Document, error) { } p.Body = mdmd.body p.FullPath = f.FullPath - p.ModifiedAt = f.ModTime() + p.ModifiedAt = f.Info.ModTime() p.OutputFilename = fmt.Sprintf("%s-%s.pdf", config.Config().FilePrefix, p.Acronym) policies = append(policies, p) }