Skip to content

Commit

Permalink
fix: keep timezones for session_start_time
Browse files Browse the repository at this point in the history
  • Loading branch information
dbirman committed Feb 14, 2025
1 parent c85bcce commit 3341f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aind_qc_portal/projects/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def _get_assets(self):
# Rename some columns and add some additional helper columns
self._df = pd.DataFrame(data)
self._df["timestamp"] = pd.to_datetime(
self._df["session_start_time"], format="mixed", utc=True
self._df["session_start_time"], format="mixed"
)
self._df["Acquisition Time"] = self._df["timestamp"].dt.strftime(
"%Y-%m-%d %H:%M:%S"
Expand Down

0 comments on commit 3341f1f

Please sign in to comment.