Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
fix(dates): change default timeZone to utc
Browse files Browse the repository at this point in the history
  • Loading branch information
mcansh committed Sep 20, 2019
1 parent 2628c2d commit 5a8fa49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/dates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const formatPostDate = (
month: 'long',
day: 'numeric',
year: 'numeric',
timeZone: 'America/New_York',
timeZone: 'utc',
}).format(new Date(inputDate));

const iso8601 = (date: PossibleDates) =>
Expand Down

0 comments on commit 5a8fa49

Please sign in to comment.