From fcae7135111ae3cc1317751808f3f2c16c670960 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 28 Feb 2005 00:23:05 +0000 Subject: [PATCH] another test for DST bug git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/datetime/datetimetest.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/datetime/datetimetest.cpp b/tests/datetime/datetimetest.cpp index f4adb0d26b..44924b868d 100644 --- a/tests/datetime/datetimetest.cpp +++ b/tests/datetime/datetimetest.cpp @@ -757,6 +757,9 @@ void DateTimeTestCase::TestDSTBug() CPPUNIT_ASSERT_EQUAL(0, (int)dt.GetSecond()); CPPUNIT_ASSERT_EQUAL(0, (int)dt.GetMillisecond()); + dt.Set(1, 0, 0, 0); + CPPUNIT_ASSERT_EQUAL(1, (int)dt.GetHour()); + ///////////////////////// // Test Today() #ifdef CHANGE_SYSTEM_DATE -- 2.45.2