From 24d8ed5e601978b3a26a9ac180d313611c1bdb44 Mon Sep 17 00:00:00 2001 From: grepfs17 Date: Mon, 30 Mar 2026 04:42:26 +0200 Subject: [PATCH] fix comment --- src/pages/api/youtube-stream-chat.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/api/youtube-stream-chat.ts b/src/pages/api/youtube-stream-chat.ts index e196427..a588a6a 100644 --- a/src/pages/api/youtube-stream-chat.ts +++ b/src/pages/api/youtube-stream-chat.ts @@ -258,8 +258,7 @@ function parseLiveChatMessage(msg: any, emoteMap: Map): 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);