mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Charles Brunet
21.15.2022 5520ed119f1e587cf51727de2360da9252512967
refs
author Charles Brunet <charles@cbrunet.net>
Thursday, April 21, 2022 19:15 +0200
committer GitHub <noreply@github.com>
Thursday, April 21, 2022 19:15 +0200
commit5520ed119f1e587cf51727de2360da9252512967
tree baa4df50a2a86c90228b536cbd3a476f8c0deb88 tree | zip | gz
parent 751ac93c1bcfcbe04f82a148382f2dbea255acb6 view | diff
use time.Format to format dates. It allows dates to be localized. (#537)

* use time.Format to format dates. It allows dates to be localized.

* Keep old default format, to remain compatible with older versions of hugo
3 files modified
7 ■■■■■ changed files
README.md 3 ●●●● diff | view | raw | blame | history
layouts/_default/single.html 2 ●●● diff | view | raw | blame | history
layouts/post/summary.html 2 ●●● diff | view | raw | blame | history