[importers] Fix setting timezones before all imports

This commit is contained in:
2025-07-26 10:18:43 -04:00
parent 2f6ed3770f
commit dde28f4aff
5 changed files with 47 additions and 9 deletions

View File

@ -9,7 +9,6 @@ import requests
from books.constants import BOOKS_TITLES_TO_IGNORE
from django.apps import apps
from django.contrib.auth import get_user_model
from profiles.utils import one_off_fix_colins_profile
from scrobbles.notifications import NtfyNotification
from stream_sqlite import stream_sqlite
from webdav.client import get_webdav_client
@ -286,9 +285,6 @@ def build_scrobbles_from_book_map(
datetime.fromtimestamp(int(last_page.get("end_ts")))
)
if user.id == 1 and not user.profile.timezone_change_log:
one_off_fix_colins_profile(user.profile)
# Adjust for Daylight Saving Time
if timestamp.dst() == timedelta(
0