Skip to content

Commit

Permalink
update date model, correct time zone
Browse files Browse the repository at this point in the history
  • Loading branch information
flacoman91 committed Oct 18, 2024
1 parent 58b7acb commit bda2ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/formatDate.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const formatDate = (uglyDate) => {
};

export const formatDisplayDate = (dateString) => {
return dayjs(new Date(dateString)).format('M/D/YYYY');
return dayjs(new Date(dateString)).utc().format('M/D/YYYY');
};
/**
* adjusting dates coming from the charts so the dates are correct
Expand Down

0 comments on commit bda2ab7

Please sign in to comment.