Open k4lizen opened 1 month ago
Though this can be fixed by specifying timeZone = "Local"
in the config.
Though this can be fixed by specifying
timeZone = "Local"
in the config.
This would be a good addition to the docs. Feel free to submit a PR.
date: {{ now.Format "2006-01-02" }}
ommits necessary timezone information
You can submit a PR which adds timezone offsets to date
and lastmod
.
exampleSite
makes use of time:
Though the theme does not render it:
@yashmehrotra @526avijitgupta Thoughts on changing archetypes (#241) to add time information?
I prefer yyyy-mm-dd
for simplicity and ISO 8601 compliance.
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.