fix: affichage des dates en français via filtre Jinja2 date_fr

This commit is contained in:
2026-03-11 18:34:36 +01:00
parent b6d5754c98
commit 9e40c7b876
3 changed files with 16 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
<div class="bg-white rounded-xl shadow p-4 mb-4">
<h2 class="font-semibold text-gray-700 mb-2">
Aujourd'hui — {{ today.strftime('%A %d %B %Y') }}
Aujourd'hui — {{ today | date_fr }}
</h2>
{% if today_entry %}
<p class="text-green-700 font-medium">{{ today_entry.day_type }} — {{ today_entry.total_hours_str() }}</p>