mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 17:35:06 -05:00
Improve the check to work with the actual timestamp of the leap second instead of the closest midnight and don't turn it off on the leap timeout. Also allow sample times to be checked in addition to the system time and NTP time to avoid accumulation of samples mixing pre-leap and post-leap timestamps (causing error of +/-0.5 or +/-1.0 seconds).
5.3 KiB
5.3 KiB