feat: add per-language date format configuration (#556)

This commit is contained in:
2025-08-10 19:06:46 +07:00
parent 1f964e9b88
commit 762c309760
3 changed files with 35 additions and 1 deletions

View File

@@ -238,6 +238,16 @@ code_block_name_links = true
compact_tags = false
short_date_format = ""
# Per-language date format overrides.
# Examples: Spanish uses "3 de febrero de 2024", German uses "3. Februar 2024"
date_formats = [
{ lang = "ru", long = "%d %B %Y", short = "%-d %b %Y" },
{ lang = "en", long = "%d. %B %Y", short = "%d.%m.%Y" },
]
tag_sorting = "frequency"
menu = [