From 57246c421df8c90ef70729acb16a072e4a9de035 Mon Sep 17 00:00:00 2001 From: 4gray Date: Sun, 4 Jan 2026 16:25:41 +0100 Subject: [PATCH] fix: timezone handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * EPG data is stored with ISO 8601 format including timezone offset (e.g., 2025-12-26T16:00:00+01:00) * When displayed, moment(isoString) parses it correctly and converts to the user's local timezone automatically * No settings needed — times always show in the user's machine timezone --- .../epg-list-item/epg-list-item.component.html | 4 ++-- .../src/lib/epg-list/epg-list.component.html | 2 +- .../lib/info-overlay/info-overlay.component.html | 4 ++-- .../multi-epg/multi-epg-container.component.html | 2 +- libs/ui/pipes/src/lib/moment-date.pipe.ts | 14 ++++++++++---- 5 files changed, 16 insertions(+), 10 deletions(-) diff --git a/libs/ui/components/src/lib/epg-list/epg-list-item/epg-list-item.component.html b/libs/ui/components/src/lib/epg-list/epg-list-item/epg-list-item.component.html index c91b6b63b..2a5af5028 100644 --- a/libs/ui/components/src/lib/epg-list/epg-list-item/epg-list-item.component.html +++ b/libs/ui/components/src/lib/epg-list/epg-list-item/epg-list-item.component.html @@ -1,7 +1,7 @@ {{ item.start | momentDate: 'YYYYMMDDHHmm ZZ' : 'HH:mm' }} + >{{ item.start | momentDate: 'HH:mm' }} - - {{ item.stop | momentDate: 'YYYYMMDDHHmm ZZ' : 'HH:mm' }} @if (timeNow >= item.start && timeNow <= item.stop) { chevron_left - {{ dateToday | momentDate: 'YYYY-MM-DD' : 'MMMM Do, dddd' }}
- {{ today() | momentDate: 'YYYYMMDD' : 'MMMM Do, dddd' }} + {{ today() | momentDate: 'MMMM Do, dddd' : 'YYYYMMDD' }}