mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 10:26:41 -05:00
wip
This commit is contained in:
@@ -14,9 +14,9 @@ utils.convertToXMLTV = function ({ channels, programs }) {
|
||||
}
|
||||
|
||||
for (let program of programs) {
|
||||
const start = program.start ? dayjs(program.start).format('YYYYMMDDHHmmss ZZ') : null
|
||||
const stop = program.stop ? dayjs(program.stop).format('YYYYMMDDHHmmss ZZ') : null
|
||||
const title = program.title ? program.title.toString().trim().replace('&', '&') : null
|
||||
const start = program.start ? dayjs(program.start).format('YYYYMMDDHHmmss ZZ') : ''
|
||||
const stop = program.stop ? dayjs(program.stop).format('YYYYMMDDHHmmss ZZ') : ''
|
||||
const title = program.title ? program.title.toString().trim().replace('&', '&') : ''
|
||||
const lang = program.lang ? program.lang : 'en'
|
||||
|
||||
if (start && title) {
|
||||
|
||||
Reference in New Issue
Block a user