From 1eb88cf679c1b34be8f2b5874789f38b9533589f Mon Sep 17 00:00:00 2001 From: isUnknown Date: Tue, 13 Jan 2026 10:57:17 +0100 Subject: [PATCH] translate date to french : add locals --- .claude/settings.local.json | 3 ++- site/config/config.php | 2 ++ site/templates/investigations.php | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index a48b55d..089c535 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -3,7 +3,8 @@ "allow": [ "Bash(git add:*)", "Bash(git commit:*)", - "Bash(cat:*)" + "Bash(cat:*)", + "WebFetch(domain:unicode-org.github.io)" ], "deny": [], "ask": [] diff --git a/site/config/config.php b/site/config/config.php index 8e65d31..dfed172 100644 --- a/site/config/config.php +++ b/site/config/config.php @@ -2,6 +2,8 @@ return [ 'debug' => true, + 'locale' => 'fr_FR.UTF-8', + 'date.handler' => 'intl', 'thumbs' => [ 'quality' => 80, 'presets' => [ diff --git a/site/templates/investigations.php b/site/templates/investigations.php index ddf413a..d2bef3f 100644 --- a/site/templates/investigations.php +++ b/site/templates/investigations.php @@ -38,7 +38,7 @@ incidentDate()->isNotEmpty()): ?>
Date de l'incident
-
+