From b0ee058ef77590ba9cc2f8c0839b7b0cda356b72 Mon Sep 17 00:00:00 2001 From: Magody Date: Thu, 18 Sep 2025 17:26:15 -0500 Subject: [PATCH] day is only 1 or 2 --- web/src/utils/race.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/utils/race.ts b/web/src/utils/race.ts index 47f79b12..445c2812 100644 --- a/web/src/utils/race.ts +++ b/web/src/utils/race.ts @@ -1,7 +1,7 @@ export type DateKey = string // Y{year}-{MM}-{half} export function monthHalfFromDay(day: number): 1 | 2 { - return day <= 15 ? 1 : 2 + return day <= 1 ? 1 : 2 } export function toDateKey(year: number, month: number, day: number): DateKey {