1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Backport pull request #5599 from jellyfin-web/release-10.9.z

Show correct release date

Original-merge: 1ea598968c

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
NotSaifA 2024-05-25 11:50:50 -04:00 committed by Joshua M. Boniface
parent decdb026fa
commit d4e7ac039f

View file

@ -49,7 +49,7 @@ export function parseISO8601Date(s, toLocal) {
ms += offset;
}
} else if (toLocal === false) {
ms += new Date().getTimezoneOffset() * 60000;
ms += new Date(ms).getTimezoneOffset() * 60000;
}
return new Date(ms);