1
0

config.toml: Use yyyy/m/d for Persian dates

Apparently it is uncommon to pad with leading zeros. It would be
really cool if Go's date functions supported international date
formats so I could use Arabic and Persian numbers! Maybe I will
make a variable to do this in frontmatter.

See: https://en.wikipedia.org/wiki/Date_and_time_notation_in_Iran
This commit is contained in:
Alan Orth 2020-03-21 18:59:36 +02:00
parent a70c8fc110
commit caf5b4f041
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -77,6 +77,6 @@ DefaultContentLanguage = "en"
date_format = "02/01/2006"
[languages.fa]
# Persian date format is yyyy/mm/dd
date_format = "2006/01/02"
date_format = "2006/1/2"
# vim: ts=2 sw=2 et