fix comment

This commit is contained in:
2026-03-30 04:42:26 +02:00
parent 0aebb838e2
commit 24d8ed5e60

View File

@@ -258,8 +258,7 @@ function parseLiveChatMessage(msg: any, emoteMap: Map<string, YTEmoteEntry>): Ch
}
}
// YouTube timestamps might already be in milliseconds
// Test both formats to see which one matches server time
// YouTube timestamps might already be in millisecond
const rawTimestamp = parseInt(msg.timestamp);
const asMillisecondsDirectly = new Date(rawTimestamp);
const asUsToMs = new Date(rawTimestamp / 1000);