I would submit that the proper use of a GPS receiver is for alignment of the start of the second to a more precise value than can be distributed across an asymmetric network like the Internet. The actual 'time label' for that second doesn't necessarily need to come from GPS at all. For security reasons, it's probably a good thing to make sure you validate the data received from GPS in any case. On Mon, Jun 24, 2019 at 8:23 PM Chris Adams <cma@cmadams.net> wrote:
Once upon a time, Jay Hennigan <jay@west.net> said:
The data from GPS includes the offset value from UTC for leap-second correction. This should be easily included in your time calculation.
Not only that, but at least some GPS receivers/protocols notify of pending leap seconds, so software can properly distribute the notification in advance.
-- Chris Adams <cma@cmadams.net>
-- - Forrest