diff --git a/internal/model/fs.go b/internal/model/fs.go index cdf2693..3da7d63 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.Info.ModTime() + n.ModifiedAt = f.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.Info.ModTime() + p.ModifiedAt = f.ModTime() procedures = append(procedures, p) } @@ -158,7 +158,7 @@ func ReadPolicies() ([]*Document, error) { } p.Body = mdmd.body p.FullPath = f.FullPath - p.ModifiedAt = f.Info.ModTime() + p.ModifiedAt = f.ModTime() p.OutputFilename = fmt.Sprintf("%s-%s.pdf", config.Config().FilePrefix, p.Acronym) policies = append(policies, p) }