Update utils.js

This commit is contained in:
Aleksandr Statciuk 2022-01-10 13:50:02 +03:00
parent d73d6093fa
commit bb52ea008a
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ utils.convertToXMLTV = function ({ channels, programs }) {
const description = utils.escapeString(program.description)
const categories = Array.isArray(program.category) ? program.category : [program.category]
const start = program.start ? dayjs.unix(program.start).utc().format('YYYYMMDDHHmmss ZZ') : ''
const stop = program.stop ? dayjs.unix(program.start).utc().format('YYYYMMDDHHmmss ZZ') : ''
const stop = program.stop ? dayjs.unix(program.stop).utc().format('YYYYMMDDHHmmss ZZ') : ''
const lang = program.lang || 'en'
const icon = utils.escapeString(program.icon)