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:
parent
a70c8fc110
commit
caf5b4f041
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user