Use timezone for final fallback as well

This commit is contained in:
Craig Alexander 2025-09-04 00:39:43 -04:00
parent 68c9ff81f9
commit c9eb8b9f5d
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ class PendingList(PendingIndex):
upload_date_time = datetime.strptime(upload_date, "%Y%m%d")
return upload_date_time.replace(tzinfo=ZoneInfo(EnvironmentSettings.TZ)).timestamp()
return int(datetime.now().timestamp())
return int(datetime.now(tz=ZoneInfo(EnvironmentSettings.TZ)).timestamp())
def __extract_vid_type(self, video_data) -> str:
"""build vid type"""