Open k4lizen opened 1 week ago
Doing this: https://github.com/526avijitgupta/gokarna/blob/fc09ce7645eb309dc70796376f0da042b10f9889/archetypes/posts.md?plain=1#L1-L10
is bad. Particularly date: {{ now.Format "2006-01-02" }} ommits necessary timezone information. See https://github.com/gohugoio/hugo/issues/12940 for more information.
date: {{ now.Format "2006-01-02" }}
Though this can be fixed by specifying timeZone = "Local" in the config.
timeZone = "Local"
Doing this: https://github.com/526avijitgupta/gokarna/blob/fc09ce7645eb309dc70796376f0da042b10f9889/archetypes/posts.md?plain=1#L1-L10
is bad. Particularly
date: {{ now.Format "2006-01-02" }}
ommits necessary timezone information. See https://github.com/gohugoio/hugo/issues/12940 for more information.