Skip to content

Commit

Permalink
Merge pull request #512 from lockhart/issue-506
Browse files Browse the repository at this point in the history
Fix issue 506 for reference to get_gps_offset_for_date().
  • Loading branch information
MJJoyce authored Jan 10, 2024
2 parents 1119b6e + 50c5ead commit 08f0592
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 08f0592

Please sign in to comment.