You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The chat_downloader.utils.core.timestamp_to_microseconds function, which is used only in sites/twitch.py, doesn't parse the TZ marker (Z) properly. Because of this, the resulting microseconds value is shifted out of UTC by the TZ of the current python process.
Basic information
Describe the bug
The
chat_downloader.utils.core.timestamp_to_microseconds
function, which is used only insites/twitch.py
, doesn't parse the TZ marker (Z
) properly. Because of this, the resulting microseconds value is shifted out of UTC by the TZ of the current python process.Command/Code used
Reproducing scripts:
My local output:
Expected behavior
The value must be
1719707754540000
.Additional context/information
Only Python 3.7 is appropriate to fix the problem because
%z
anddatetime.datetime.fromisoformat()
appears at 3.7.The text was updated successfully, but these errors were encountered: