diff --git a/index.js b/index.js index c47143e..34c3402 100644 --- a/index.js +++ b/index.js @@ -40,11 +40,11 @@ const App = () => { const utcEndDate = zonedTimeToUtc(new Date(stream.endsOn), 'Europe/Berlin') const { timeZone } = Intl.DateTimeFormat().resolvedOptions() - const zonedStartDate = utcToZonedTime(utcStartDate, timeZone) - const zonedEndDate = utcToZonedTime(utcEndDate, timeZone) + const zonedStartDate = utcToZonedTime(utcStartDate, 'Europe/Berlin') + const zonedEndDate = utcToZonedTime(utcEndDate, 'Europe/Berlin') if ( isWithinInterval(new Date(), { - start: subHours(zonedStartDate, 1), + start: subHours(zonedStartDate, 2), end: addHours(zonedEndDate, 1), }) ) { diff --git a/src/pages/SeriesPage/styles.js b/src/pages/SeriesPage/styles.js index 9944a99..a9708f8 100644 --- a/src/pages/SeriesPage/styles.js +++ b/src/pages/SeriesPage/styles.js @@ -18,7 +18,7 @@ import config from '../../data/config' import { slugify } from '../../helpers/string' export const TrailerContainer = styled.div` - height: 22em; + height: 21em; border: 1px solid ${colours.midnightDarker}; margin-bottom: 16px;