commaai / laika

Simple Python GNSS processing library
MIT License
639 stars 179 forks source link

Fix leap second in 2017 #112

Closed fivitti closed 1 year ago

fivitti commented 1 year ago

The leap second in 2017 specified in the get_leap_seconds function in the backend/core/orbital/gpstime.go file is wrong.

The starting date for the leap second from 2017 is set to 2017-07-01, but the correct date is 2017-01-01. See the official IETF list.

This MR fixes the problem.