mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update raiplay.it.config.js
This commit is contained in:
parent
64a79313f6
commit
a390bfced3
1 changed files with 3 additions and 3 deletions
|
@ -22,10 +22,10 @@ module.exports = {
|
||||||
.set('D', date.get('D'))
|
.set('D', date.get('D'))
|
||||||
.set('M', date.get('M'))
|
.set('M', date.get('M'))
|
||||||
.set('y', date.get('y'))
|
.set('y', date.get('y'))
|
||||||
const start = startDate.toString()
|
const start = startDate.toJSON()
|
||||||
const duration = parseInt(item.duration_in_minutes)
|
const duration = parseInt(item.duration_in_minutes)
|
||||||
const stopDate = startDate.utcOffset(duration)
|
const stopDate = startDate.add(duration,'m')
|
||||||
const stop = stopDate.toString()
|
const stop = stopDate.toJSON()
|
||||||
|
|
||||||
programs.push({
|
programs.push({
|
||||||
title: item.name || item.program.name,
|
title: item.name || item.program.name,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue