mirror of
https://github.com/iptv-org/epg
synced 2026-09-17 06:26:24 -04:00
Update sky.com.config.js
This commit is contained in:
@@ -25,8 +25,7 @@ module.exports = {
|
|||||||
.filter(schedule => schedule.sid === channel.site_id)
|
.filter(schedule => schedule.sid === channel.site_id)
|
||||||
.forEach(schedule => {
|
.forEach(schedule => {
|
||||||
if (Array.isArray(schedule.events)) {
|
if (Array.isArray(schedule.events)) {
|
||||||
schedule.events
|
schedule.events.forEach(event => {
|
||||||
.forEach(event => {
|
|
||||||
const start = dayjs.utc(event.st * 1000)
|
const start = dayjs.utc(event.st * 1000)
|
||||||
if (start.isSame(date, 'd')) {
|
if (start.isSame(date, 'd')) {
|
||||||
programs.push({
|
programs.push({
|
||||||
@@ -39,7 +38,6 @@ module.exports = {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user