Skip to content

Tests: Fix TIMESTAMP-UnixTime test under SOURCE_DATE_EPOCH=1

Bernhard M. Wiedemann requested to merge bmwiedemann/cmake:unixtimefix into master

The test was expecting timestamps on day 1 in 1970 to start at 86400 but they actually started at 0

This only started to fail when run with SOURCE_DATE_EPOCH=1 because after 1972, the leap days compensated the offset.

Fixes: #17762 (closed)

Edited by Brad King

Merge request reports