mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Update arianatelevision.com.config.js
This commit is contained in:
parent
35b2fbb88c
commit
5aa2461b94
1 changed files with 1 additions and 5 deletions
|
@ -28,7 +28,7 @@ module.exports = {
|
|||
let start = parseStart(item, date)
|
||||
if (start.hour() > 11) PM = true
|
||||
if (start.hour() < 12 && PM) start = start.add(1, 'd')
|
||||
const stop = parseStop(item, date)
|
||||
const stop = start.add(30, 'm')
|
||||
if (programs.length) {
|
||||
programs[programs.length - 1].stop = start
|
||||
}
|
||||
|
@ -44,10 +44,6 @@ module.exports = {
|
|||
}
|
||||
}
|
||||
|
||||
function parseStop(item, date) {
|
||||
return date.tz('Asia/Kabul').endOf('d').add(7, 'h')
|
||||
}
|
||||
|
||||
function parseStart(item, date) {
|
||||
const time = `${date.format('MM/DD/YYYY')} ${item.start}`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue