diff --git a/src/components/AirDateBadge/index.tsx b/src/components/AirDateBadge/index.tsx index fb9268f6..c626aad9 100644 --- a/src/components/AirDateBadge/index.tsx +++ b/src/components/AirDateBadge/index.tsx @@ -37,6 +37,7 @@ const AirDateBadge = ({ airDate }: AirDateBadgeProps) => { year: 'numeric', month: 'long', day: 'numeric', + timeZone: 'UTC', })} {showRelative && ( diff --git a/src/components/MovieDetails/index.tsx b/src/components/MovieDetails/index.tsx index 795ab7de..6f8b2e01 100644 --- a/src/components/MovieDetails/index.tsx +++ b/src/components/MovieDetails/index.tsx @@ -621,6 +621,7 @@ const MovieDetails = ({ movie }: MovieDetailsProps) => { year: 'numeric', month: 'long', day: 'numeric', + timeZone: 'UTC', })} @@ -640,6 +641,7 @@ const MovieDetails = ({ movie }: MovieDetailsProps) => { year: 'numeric', month: 'long', day: 'numeric', + timeZone: 'UTC', })} diff --git a/src/components/PersonDetails/index.tsx b/src/components/PersonDetails/index.tsx index 9c8173ad..f4d489d5 100644 --- a/src/components/PersonDetails/index.tsx +++ b/src/components/PersonDetails/index.tsx @@ -91,11 +91,13 @@ const PersonDetails = () => { year: 'numeric', month: 'long', day: 'numeric', + timeZone: 'UTC', }), deathdate: intl.formatDate(data.deathday, { year: 'numeric', month: 'long', day: 'numeric', + timeZone: 'UTC', }), }) ); @@ -106,6 +108,7 @@ const PersonDetails = () => { year: 'numeric', month: 'long', day: 'numeric', + timeZone: 'UTC', }), }) ); diff --git a/src/components/TvDetails/index.tsx b/src/components/TvDetails/index.tsx index 5c59e4fb..72a3eacd 100644 --- a/src/components/TvDetails/index.tsx +++ b/src/components/TvDetails/index.tsx @@ -844,6 +844,7 @@ const TvDetails = ({ tv }: TvDetailsProps) => { year: 'numeric', month: 'long', day: 'numeric', + timeZone: 'UTC', })} @@ -858,6 +859,7 @@ const TvDetails = ({ tv }: TvDetailsProps) => { year: 'numeric', month: 'long', day: 'numeric', + timeZone: 'UTC', })}