log time in format consistent with what is on the page

This commit is contained in:
Lilian Jónsdóttir 2024-01-23 13:54:25 -08:00
parent cff59fe895
commit 21ccdebd7a

View file

@ -73,7 +73,7 @@ func GenerateNewTemplateCache() (models.TemplateCache, error) {
Template: templateSet, Template: templateSet,
GeneratedAt: generatedAt, GeneratedAt: generatedAt,
} }
app.Logger.Debugf("Generated %s at %v", name, generatedAt.String()) app.Logger.Debugf("Generated %s at %v", name, generatedAt.Format(time.UnixDate))
} }
// All was good, so return the cache, and no error // All was good, so return the cache, and no error