mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 10:26:41 -05:00
Merge pull request #2860 from iptv-org/shahid-dont-convert-tz
Shahid set timezone to UTC
This commit is contained in:
@@ -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()
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user