Skip to content

Commit

Permalink
Fix date timezone bug (stashapp#807)
Browse files Browse the repository at this point in the history
  • Loading branch information
InfiniteTF authored Sep 12, 2020
1 parent cf30e1f commit 0134b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/v2.5/src/utils/text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const formatDate = (intl: IntlShape, date?: string) => {
return "";
}

return intl.formatDate(date, { format: "long" });
return intl.formatDate(date, { format: "long", timeZone: "utc" });
};

const TextUtils = {
Expand Down

0 comments on commit 0134b38

Please sign in to comment.