From caf5b4f041f5c68456a7a805c271ccb6f27a9fc1 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sat, 21 Mar 2020 18:59:36 +0200 Subject: [PATCH] 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 --- config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.toml b/config.toml index fc098747..89c433c2 100644 --- a/config.toml +++ b/config.toml @@ -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