Bug 797139 - test-report-utilities failure after 10-march in travis

gnc_dmy2time64_neutral is TZ-insensitive whereas gnc_dmy2time64 and
gnc_dmy2time64_end are TZ-sensitive. Using _neutral mixed with others
will occasionally cause test failures when the dates straddle DST
boundary dates.

Please see bug report on bugzilla for full details.
pull/665/head
Christopher Lam 6 years ago
parent 82987e13f3
commit 6d9e7d9380

@ -46,7 +46,7 @@
(test-day (tm:mday ts-now))
(test-month (+ 1 (tm:mon ts-now)))
(test-year (+ 1900 (tm:year ts-now)))
(end-date (gnc-dmy2time64-neutral test-day test-month test-year))
(end-date (gnc-dmy2time64 test-day test-month test-year))
(start-date (NDayDelta end-date 10))
(q-end-date (gnc-dmy2time64-end test-day test-month test-year))
(q-start-date (gnc-dmy2time64 test-day test-month test-year))

Loading…
Cancel
Save