mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 19:06:58 -05:00
Update ontvtonight.com.config.js
This commit is contained in:
@@ -40,6 +40,10 @@ module.exports = {
|
||||
const $item = cheerio.load(item)
|
||||
const start = parseStart($item, date, channel)
|
||||
if (prev) {
|
||||
if (start.isBefore(prev.start)) {
|
||||
start = start.add(1, 'd')
|
||||
date = date.add(1, 'd')
|
||||
}
|
||||
prev.stop = start
|
||||
}
|
||||
const stop = start.add(1, 'h')
|
||||
|
||||
Reference in New Issue
Block a user