mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 10:26:41 -05:00
Update singtel.com.config.js
update start time to UTC
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = {
|
|||||||
let programs = []
|
let programs = []
|
||||||
const items = parseItems(content, channel)
|
const items = parseItems(content, channel)
|
||||||
items.forEach(item => {
|
items.forEach(item => {
|
||||||
const start = dayjs(item.startDateTime)
|
const start = dayjs.utc(item.startDateTime)
|
||||||
const stop = start.add(item.duration, 's')
|
const stop = start.add(item.duration, 's')
|
||||||
programs.push({
|
programs.push({
|
||||||
title: item.program.title,
|
title: item.program.title,
|
||||||
|
|||||||
Reference in New Issue
Block a user