Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions frontend/demo_light/demo_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,9 @@ def get_latest_modification_time(path):

for file_path in file_paths:
modification_timestamp = os.path.getmtime(file_path)
modification_time_utc = datetime.datetime.utcfromtimestamp(
modification_timestamp
)
modification_time_utc = modification_time_utc.replace(
tzinfo=datetime.timezone.utc
modification_time_utc = datetime.datetime.fromtimestamp(
modification_timestamp,
datetime.timezone.utc
)
modification_time_california = modification_time_utc.astimezone(
california_tz
Expand Down