refactor(timeline): drop an unused month helper

This commit is contained in:
Marc-André Bombeck committed 2026-10-09 10:56:44 +02:00
1 parent ecf27cd9bc
commit f8dab58bc5
1 file changed
-5
@@ -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`;