diff --git a/src/constants.js b/src/constants.js index f5b47b69c..eac8fbe07 100644 --- a/src/constants.js +++ b/src/constants.js @@ -1106,8 +1106,7 @@ const createConfigPresetValue = (line, fromStationName, toStationName, date_star } }; -// Returns today's EST/EDT date in a format like "2021-04-12". Thanks Canada! -const TODAY = new Date().toLocaleString('fr-CA', { timeZone: 'America/New_York' }).split(" ")[0]; +const TODAY = new Date().toISOString().split("T")[0]; export const configPresets = [ {