fix comment
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user