mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update sky.com.config.js
This commit is contained in:
parent
dfdac39bb4
commit
4aad8125f5
1 changed files with 12 additions and 14 deletions
|
@ -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 = {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue