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 // YouTube timestamps might already be in millisecond
// Test both formats to see which one matches server time
const rawTimestamp = parseInt(msg.timestamp); const rawTimestamp = parseInt(msg.timestamp);
const asMillisecondsDirectly = new Date(rawTimestamp); const asMillisecondsDirectly = new Date(rawTimestamp);
const asUsToMs = new Date(rawTimestamp / 1000); const asUsToMs = new Date(rawTimestamp / 1000);