Merge pull request #2860 from iptv-org/shahid-dont-convert-tz

Shahid set timezone to UTC
This commit is contained in:
Alstruit
2025-09-26 15:19:54 -05:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -24,8 +24,8 @@ module.exports = {
description: item.description,
session: item.seasonNumber,
episode: item.episodeNumber,
start: dayjs.tz(item.actualFrom, 'Asia/Riyadh').toISOString(),
stop: dayjs.tz(item.actualTo, 'Asia/Riyadh').toISOString()
start: dayjs.tz(item.actualFrom, 'UTC').toISOString(),
stop: dayjs.tz(item.actualTo, 'UTC').toISOString()
}
})

View File

@@ -25,8 +25,8 @@ it('can parse response', () => {
expect(result).toMatchObject([
{
start: '2023-11-10T21:00:00.000Z',
stop: '2023-11-10T21:30:00.000Z',
start: '2023-11-11T00:00:00.000Z',
stop: '2023-11-11T00:30:00.000Z',
title: "Menassaatona Fi Osboo'",
description:
"The presenter reviews the most prominent episodes of news programs produced by the channel's team on a weekly basis, which include the most important global updates and developments at all levels."