3 Commits (f982f37d69871612e2fba1e61cf24d1cb72193bb)

Author SHA1 Message Date
Daniel Borchmann f1932e7032
Fix precision error in `db/ntp-to-time'
A curcial step in the conversion, namly the computation of the actual time from
the seconds since the epoch, had been conducted with too little precision.  Now
the precision is fixed to a high value throughout the whole computation, and the
tests succeed again.
3 years ago
Daniel Borchmann c86051ba22
Add obvious test for NTP conversion
This test could not have been added before, because conversion was not
guaranteed to work for dates before the unix epoch.  It now is, and we finally
can check the start of the NTP epoch! :)
3 years ago
Daniel Borchmann f4b55ad777
Add tests for NTP time conversion 3 years ago