Deletion fix

This commit is contained in:
Milan Paunovic
2024-12-24 16:07:18 +01:00
parent c93d66d13d
commit 10f6616cd0
7 changed files with 78 additions and 38 deletions

View File

@ -31,7 +31,7 @@ interface FormattedEvent {
// Precompute time constants
const DAY_IN_MS = 24 * 60 * 60 * 1000;
const PERIOD_IN_MS = 45 * DAY_IN_MS;
const PERIOD_IN_MS = 5 * DAY_IN_MS;
const TIME_ZONE = Intl.DateTimeFormat().resolvedOptions().timeZone;
// Memoize date range calculations