Skip to content

Commit

Permalink
Update the number of GPS leap seconds.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Jul 8, 2022
1 parent 0cee34e commit b3824ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/libs/libmythtv/mpeg/mpegtables.h
Expand Up @@ -30,8 +30,8 @@
*/
static constexpr qint64 GPS_EPOCH { 315964800 };

/** Leap seconds as of June 30th, 2012. */
static constexpr uint8_t GPS_LEAP_SECONDS { 16 };
/** Leap seconds as of June 30th, 2022. */
static constexpr uint8_t GPS_LEAP_SECONDS { 18 };
// Note: You can obtain this number by adding one
// for every leap second added to UTC since Jan 6th, 1980
// and subtracting one for every leap second removed.
Expand Down

0 comments on commit b3824ca

Please sign in to comment.