Skip to content

Commit

Permalink
Merge pull request #86 from crschmidt/main
Browse files Browse the repository at this point in the history
Correct trailing comma in Orange Line Slowdown
  • Loading branch information
austinjpaul authored Apr 13, 2021
2 parents 1680afa + 34a4498 commit c715c4d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
{
Expand Down

0 comments on commit c715c4d

Please sign in to comment.