From 09045811304d4eab082688e2bc2f5caf0e3a6e9b Mon Sep 17 00:00:00 2001 From: Devin Matte Date: Wed, 24 Apr 2024 10:56:54 -0400 Subject: [PATCH] Bump monthly data to march 31st 2024 (#982) --- common/constants/dates.ts | 2 +- server/chalicelib/date_utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/constants/dates.ts b/common/constants/dates.ts index 2f3c8a9b..441c994f 100644 --- a/common/constants/dates.ts +++ b/common/constants/dates.ts @@ -35,7 +35,7 @@ export const THREE_MONTHS_AGO_STRING = TODAY.subtract(90, 'days').format(DATE_FO const OVERVIEW_TRAIN_MIN_DATE = '2016-02-01'; const TRAIN_MIN_DATE = '2016-01-15'; const BUS_MIN_DATE = '2018-08-01'; -export const BUS_MAX_DATE = '2024-02-29'; +export const BUS_MAX_DATE = '2024-03-31'; export const BUS_MAX_DAY = dayjs(BUS_MAX_DATE); export const BUS_MAX_DATE_MINUS_ONE_WEEK = dayjs(BUS_MAX_DATE) .subtract(7, 'days') diff --git a/server/chalicelib/date_utils.py b/server/chalicelib/date_utils.py index 236f1c32..21f5ac5a 100644 --- a/server/chalicelib/date_utils.py +++ b/server/chalicelib/date_utils.py @@ -8,7 +8,7 @@ EASTERN_TIME = ZoneInfo("US/Eastern") # The most recent date for which we have monthly data -MAX_MONTH_DATA_DATE = "2024-02-29" +MAX_MONTH_DATA_DATE = "2024-03-31" def parse_event_date(date_str: str):