Force french locale to render dates

This commit is contained in:
Yax 2025-06-21 16:39:29 +02:00
parent 134838484a
commit fccf551e60

View file

@ -47,8 +47,7 @@ from pygments.lexers import get_lexer_by_name
from pygments.formatters import html
# set user locale
locale.setlocale(locale.LC_ALL, "")
locale.setlocale(locale.LC_TIME, 'fr_FR.UTF-8')
# initialize markdown