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:
vexorian 2025-12-02 17:33:39 -04:00 committed by GitHub
commit 8258a59e27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;