From 40c09e2e4b81ab073fb2c09a671de58b2c4a2a47 Mon Sep 17 00:00:00 2001 From: syoul Date: Mon, 23 Mar 2026 21:43:13 +0100 Subject: [PATCH] feat: ajoute le jour de la semaine dans les labels demi-semaines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ex: "lun. 21 févr. – jeu. 24 févr." Co-Authored-By: Claude Sonnet 4.6 --- src/hooks/useAnimation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useAnimation.ts b/src/hooks/useAnimation.ts index d444363..5cd30b7 100644 --- a/src/hooks/useAnimation.ts +++ b/src/hooks/useAnimation.ts @@ -47,7 +47,7 @@ function buildFrames(periodDays: number): TimeFrame[] { const from = cursor; const to = Math.min(cursor + HALF_WEEK, now); frames.push({ - label: `${fmt(from, { day: 'numeric', month: 'short' })} – ${fmt(to - 1, { day: 'numeric', month: 'short' })}`, + label: `${fmt(from, { weekday: 'short', day: 'numeric', month: 'short' })} – ${fmt(to - 1, { weekday: 'short', day: 'numeric', month: 'short' })}`, from, to, });