Skip to content

Commit

Permalink
Fix issue 506 for reference to get_gps_offset_for_date().
Browse files Browse the repository at this point in the history
  • Loading branch information
lockhart authored Jan 8, 2024
1 parent cbdcf75 commit 50c5ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ait/core/dmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def to_gps_week_and_secs(timestamp=None) -> Tuple[int, int]:
if timestamp is None:
timestamp = datetime.datetime.utcnow()

leap = LeapSeconds.get_GPS_offset_for_date(timestamp) # type: ignore
leap = LeapSeconds.get_gps_offset_for_date(timestamp) # type: ignore

secs_in_week = 604800
delta = (timestamp - GPS_Epoch).total_seconds() + leap
Expand Down

0 comments on commit 50c5ead

Please sign in to comment.