From 966aeefbdd3f66e06852b9ca649dfef29397a7c2 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Fri, 17 Feb 2023 13:25:56 -0500 Subject: [PATCH] Turns out I shoulda tested this more --- vrobbler/apps/scrobbles/tsv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vrobbler/apps/scrobbles/tsv.py b/vrobbler/apps/scrobbles/tsv.py index beea889..990e650 100644 --- a/vrobbler/apps/scrobbles/tsv.py +++ b/vrobbler/apps/scrobbles/tsv.py @@ -49,7 +49,7 @@ def process_audioscrobbler_tsv_file(file_path, user_tz=None): ) timestamp = ( - datetime.fromtimestamp(int(row[6])) + datetime.utcfromtimestamp(int(row[6])) .replace(tzinfo=user_tz) .astimezone(pytz.utc) )