mirror of
https://github.com/iptv-org/epg
synced 2025-12-18 11:27:06 -05:00
Update arianatelevision.com.config.js
This commit is contained in:
@@ -10,7 +10,6 @@ dayjs.extend(utc)
|
|||||||
dayjs.extend(timezone)
|
dayjs.extend(timezone)
|
||||||
dayjs.extend(customParseFormat)
|
dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
let PM = false
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
lang: 'en',
|
lang: 'en',
|
||||||
days: 7,
|
days: 7,
|
||||||
@@ -21,6 +20,7 @@ module.exports = {
|
|||||||
return `https://www.arianatelevision.com/program-schedule/`
|
return `https://www.arianatelevision.com/program-schedule/`
|
||||||
},
|
},
|
||||||
parser({ content, date }) {
|
parser({ content, date }) {
|
||||||
|
let PM = false
|
||||||
const programs = []
|
const programs = []
|
||||||
const items = parseItems(content, date)
|
const items = parseItems(content, date)
|
||||||
items.forEach(item => {
|
items.forEach(item => {
|
||||||
@@ -45,7 +45,7 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function parseStop(item, date) {
|
function parseStop(item, date) {
|
||||||
return date.tz('Asia/Kabul').endOf('d').add(6, 'h')
|
return date.tz('Asia/Kabul').endOf('d').add(7, 'h')
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseStart(item, date) {
|
function parseStart(item, date) {
|
||||||
|
|||||||
Reference in New Issue
Block a user