From 6d9e7d9380432fd64ed2ec44486f2a1ec92147ec Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Sat, 14 Mar 2020 07:03:02 +0800 Subject: [PATCH] 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. --- gnucash/report/report-system/test/test-report-utilities.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnucash/report/report-system/test/test-report-utilities.scm b/gnucash/report/report-system/test/test-report-utilities.scm index 13921d47c9..4a7df02db0 100644 --- a/gnucash/report/report-system/test/test-report-utilities.scm +++ b/gnucash/report/report-system/test/test-report-utilities.scm @@ -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))