[imports] Clean up logs and fix missing tz for birding
All checks were successful
build & deploy / test (push) Successful in 1m59s
build & deploy / build-and-deploy (push) Successful in 38s

This commit is contained in:
2026-05-23 16:22:52 -04:00
parent 72fa41977e
commit 645e81299b
3 changed files with 12 additions and 10 deletions

View File

@ -157,9 +157,12 @@ def import_birding_csv(file_path, user_id):
stop_timestamp = timestamp + timedelta(minutes=duration_minutes) if duration_minutes else None
tz = getattr(timestamp.tzinfo, "name", None)
scrobble = Scrobble(
user=user,
timestamp=timestamp,
timezone=tz,
stop_timestamp=stop_timestamp,
source="Birding CSV Import",
birding_location=location,