Update ontvtonight.com.config.js
This commit is contained in:
1 parent
cf4308d5ba
commit
67809aa894
1 file changed
+4
@@ -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