diff --git a/src/components/overlays/detailsModal/components/sections/DetailsBody.tsx b/src/components/overlays/detailsModal/components/sections/DetailsBody.tsx index ed2259f9..e229e60f 100644 --- a/src/components/overlays/detailsModal/components/sections/DetailsBody.tsx +++ b/src/components/overlays/detailsModal/components/sections/DetailsBody.tsx @@ -103,10 +103,8 @@ export function DetailsBody({ if (hasDigitalRelease) { const digitalReleaseDate = new Date(releaseInfo.digital_release_date!); - const twoDaysAfter = new Date(digitalReleaseDate); - twoDaysAfter.setDate(twoDaysAfter.getDate() + 2); - if (new Date() >= twoDaysAfter) { + if (new Date() >= digitalReleaseDate) { return HD; } } @@ -115,10 +113,8 @@ export function DetailsBody({ const theatricalReleaseDate = new Date( releaseInfo.theatrical_release_date!, ); - const fortyFiveDaysAfter = new Date(theatricalReleaseDate); - fortyFiveDaysAfter.setDate(fortyFiveDaysAfter.getDate() + 45); - if (new Date() >= fortyFiveDaysAfter) { + if (new Date() >= theatricalReleaseDate) { return (