This commit is contained in:
Aleksandr Statciuk 2022-01-10 22:16:18 +03:00
parent f8981e478e
commit 043d738c95
14 changed files with 134 additions and 9 deletions

View file

@ -19,6 +19,8 @@ xml.create = function ({ channels, programs }) {
}
for (let program of programs) {
if (!program) continue
const start = program.start ? dayjs.unix(program.start).utc().format('YYYYMMDDHHmmss ZZ') : ''
const stop = program.stop ? dayjs.unix(program.stop).utc().format('YYYYMMDDHHmmss ZZ') : ''