From 9a8fa0c440582b684fd0e6b23e333c97bd986442 Mon Sep 17 00:00:00 2001 From: Antonio De Lucreziis Date: Sun, 5 Mar 2023 23:05:23 +0100 Subject: [PATCH] fix: aggiornato il range di date alla settimana del 2023-03-06 --- src/main.jsx | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/src/main.jsx b/src/main.jsx index 9b3931f..2864852 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -28,23 +28,16 @@ const CALENDAR_IDS = { ], } +const DEFAULT_DATE_RANGE = { + from: '2023-03-06T00:00:00.000Z', + to: '2023-03-12T00:00:00.000Z', +} + const DATE_RANGES = { - '6308cfcb1df5cb026699ce32': { - from: '2023-02-27T00:00:00.000Z', - to: '2023-03-05T00:00:00.000Z', - }, - '63ce711cc3940409488f274e': { - from: '2023-02-27T00:00:00.000Z', - to: '2023-03-05T00:00:00.000Z', - }, - '63ce736abfadbe06acc8338d': { - from: '2023-02-27T00:00:00.000Z', - to: '2023-03-05T00:00:00.000Z', - }, - '63ce74397a9aee064ee01ad7': { - from: '2023-02-27T00:00:00.000Z', - to: '2023-03-05T00:00:00.000Z', - }, + '6308cfcb1df5cb026699ce32': DEFAULT_DATE_RANGE, + '63ce711cc3940409488f274e': DEFAULT_DATE_RANGE, + '63ce736abfadbe06acc8338d': DEFAULT_DATE_RANGE, + '63ce74397a9aee064ee01ad7': DEFAULT_DATE_RANGE, } function specialEventPatches(eventi) { -- 2.30.2