Fix loading chat for non-UTC timestamps in restreamer

pull/342/head
ElementalAlchemist 2 years ago committed by Mike Lang
parent d2bcff3ffd
commit be9b7b8a3c

@ -516,11 +516,13 @@ function triggerDownload(url, filename) {
}
function sendChatLogLoadData() {
const startTime = globalStartTimeString;
const endTime = globalEndTimeString;
let startTime = getStartTime();
let endTime = getEndTime();
if (!startTime || !endTime) {
return;
}
startTime = wubloaderTimeFromDateTime(startTime);
endTime = wubloaderTimeFromDateTime(endTime);
const segmentMetadata = getSegmentTimes();
for (const segmentData of segmentMetadata) {
segmentData.rawStart = segmentData.rawStart.toMillis();

Loading…
Cancel
Save