Model the TAI-UTC difference between 1961 and 1972

This commit is contained in:
Howard Hinnant
2018-10-03 17:51:55 -04:00
parent 591f572b67
commit 1eed461d06
2 changed files with 102 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ main()
assert(clock_cast<local_t>(tt) == lt);
assert(tt.time_since_epoch() == seconds(0));
auto lu = local_days{1958_y/January/1_d} - seconds(10);
auto lu = local_days{1958_y/January/1_d};
auto ut = clock_cast<utc_clock>(lu);
assert(clock_cast<tai_clock>(ut) == tt);
}