From f8dab58bc538af4cd072657db176247d495ba668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Fri, 9 Oct 2026 10:56:44 +0200 Subject: [PATCH] refactor(timeline): drop an unused month helper --- src/components/timeline/timeline-dates.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/timeline/timeline-dates.ts b/src/components/timeline/timeline-dates.ts index 703583aee..904a82482 100644 --- a/src/components/timeline/timeline-dates.ts +++ b/src/components/timeline/timeline-dates.ts @@ -26,11 +26,6 @@ export function dayKey(day: number): string { return new Date(day * MS_PER_DAY).toISOString().slice(0, 10); } -/** `YYYY-MM` of a date key. */ -export function monthOf(key: string): string { - return key.slice(0, 7); -} - /** First day of the month a key falls in. */ export function startOfMonth(key: string): string { return `${key.slice(0, 7)}-01`;