Skip to content

Commit

Permalink
FIX: incorrectly rounded timestamps on telemetry data
Browse files Browse the repository at this point in the history
  • Loading branch information
theOehrly committed Feb 4, 2024
1 parent f1a931e commit 5c619fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastf1/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2397,7 +2397,7 @@ def _load_telemetry(self, livedata: LiveTimingData = None):
# not pos data or car data exists for this driver
continue

drv_car['Date'] = drv_car['Date'].round('ms')
drv_car['Date'] = drv_car['Date'].dt.round('ms')

drv_car['Time'] = drv_car['Date'] - self.t0_date
drv_car['SessionTime'] = drv_car['Time']
Expand Down

0 comments on commit 5c619fa

Please sign in to comment.