diff --git a/listenbrainz/webserver/static/js/src/stats/UserHistory.tsx b/listenbrainz/webserver/static/js/src/stats/UserHistory.tsx index d2e9a8b4b0..d22f0cbdcc 100644 --- a/listenbrainz/webserver/static/js/src/stats/UserHistory.tsx +++ b/listenbrainz/webserver/static/js/src/stats/UserHistory.tsx @@ -377,16 +377,22 @@ export default class UserHistory extends React.Component< {range === "week" - ? `of ${startDate.getDate()} ${startDate.toLocaleString( + ? `of ${startDate.getUTCDate()} ${startDate.toLocaleString( "en-us", - { month: "long" } + { month: "long", timeZone: "UTC" } )} ` : ""} {range === "month" - ? `${startDate.toLocaleString("en-us", { month: "long" })} ` + ? `${startDate.toLocaleString("en-us", { + month: "long", + timeZone: "UTC", + })} ` : ""} {range !== "all_time" - ? startDate.toLocaleString("en-us", { year: "numeric" }) + ? startDate.toLocaleString("en-us", { + year: "numeric", + timeZone: "UTC", + }) : ""}