Update raiplay.it.config.js
This commit is contained in:
committed by
GitHub
parent
64a79313f6
commit
a390bfced3
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user