From 0759968964aeb2555a732de367fdaa3c4ac30e28 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Thu, 9 Dec 2021 16:18:33 +0100 Subject: [PATCH] Adapt test case for timezone update to 2021a4 --- tests/timezone-sample.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/timezone-sample.cpp b/tests/timezone-sample.cpp index 46b9bf1..bbc27c5 100644 --- a/tests/timezone-sample.cpp +++ b/tests/timezone-sample.cpp @@ -117,7 +117,8 @@ int main(int argc, char** argv) { // Asia/Gaza Thu Oct 28 22:00:00 2021 UT = Fri Oct 29 00:00:00 2021 EET isdst=0 gmtoff=7200 test_dst("Asia/Gaza", 2021, 9, 28, 21, 59, 59, 2, 1); - test_dst("Asia/Gaza", 2021, 9, 29, 21, 59, 59, 2, 1); // wrong! + test_dst("Asia/Gaza", 2021, 9, 28, 22, 0, 0, 2, 1); // wrong! + test_dst("Asia/Gaza", 2021, 9, 29, 21, 59, 59, 2, 0); test_dst("Asia/Gaza", 2021, 9, 30, 22, 0, 0, 2, 0); // Print summary and exit with the number of failed test or