Merge pull request #492 from theweebcoders/dev/1.6.x
Fix original duration override bug and add start time validation
This commit is contained in:
commit
8258a59e27
@ -69,9 +69,6 @@ function cleanUpProgram(program) {
|
||||
program.endPosition = parseInt(program.endPosition, 10);
|
||||
}
|
||||
|
||||
if (program.start && program.stop) {
|
||||
program.duration = new Date(program.stop) - new Date(program.start);
|
||||
}
|
||||
delete program.streams;
|
||||
delete program.durationStr;
|
||||
delete program.commercials;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user