mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 08:30:06 -04:00
Update zap2it.com.config.js
This commit is contained in:
parent
bfb5d59bb8
commit
e75dab9553
1 changed files with 2 additions and 1 deletions
|
@ -65,6 +65,7 @@ module.exports = {
|
|||
})
|
||||
})
|
||||
|
||||
return programs.filter(p => dayjs(p.start).add(dayjs(p.start).utcOffset(), 'minute').isBetween(date.startOf('day').add(5, 'hour').utc(), date.endOf('day').add(5, 'hour').utc(), 'second', '[]'))
|
||||
return programs.filter(p => dayjs(p.start).add(dayjs(p.start).utcOffset(), 'minute').isBetween(date.startOf('day').subtract(dayjs().utcOffset(), 'minute').utc(),
|
||||
date.endOf('day').subtract(dayjs().utcOffset(), 'minute').utc(), 'second', '[]'))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue