mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-11 01:20:08 -04:00
Update m.tv.sms.cz.config.js
This commit is contained in:
parent
9e928c1b87
commit
744a846afe
1 changed files with 3 additions and 2 deletions
|
@ -10,9 +10,9 @@ dayjs.extend(utc)
|
|||
dayjs.extend(timezone)
|
||||
dayjs.extend(customParseFormat)
|
||||
|
||||
let PM = false
|
||||
module.exports = {
|
||||
lang: 'cs',
|
||||
days: 7,
|
||||
site: 'm.tv.sms.cz',
|
||||
channels: 'm.tv.sms.cz.channels.xml',
|
||||
output: '.gh-pages/guides/m.tv.sms.cz.guide.xml',
|
||||
|
@ -28,6 +28,7 @@ module.exports = {
|
|||
return img ? img.src : null
|
||||
},
|
||||
parser: function ({ buffer, date }) {
|
||||
let PM = false
|
||||
const programs = []
|
||||
const items = parseItems(buffer)
|
||||
items.forEach((item, i) => {
|
||||
|
@ -54,7 +55,7 @@ module.exports = {
|
|||
}
|
||||
|
||||
function parseStop(item, date) {
|
||||
return date.tz('Europe/Prague').endOf('d').add(6, 'h')
|
||||
return date.tz('Europe/Prague').endOf('d').add(5, 'h')
|
||||
}
|
||||
|
||||
function parseStart(item, date) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue