From: Vadim Zeitlin Date: Sun, 30 Sep 2007 19:28:29 +0000 (+0000) Subject: really fixed the DST test by using explicit country in it X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c6a95dd6a285f8a75b48745980a05dc635262851?hp=770882a69e30385237f89d467972775199e4f546 really fixed the DST test by using explicit country in it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/datetime/datetimetest.cpp b/tests/datetime/datetimetest.cpp index 69452d8d08..8caa1e71c4 100644 --- a/tests/datetime/datetimetest.cpp +++ b/tests/datetime/datetimetest.cpp @@ -854,7 +854,7 @@ void DateTimeTestCase::TestDSTBug() { ///////////////////////// // Test GetEndDST() - wxDateTime dt = wxDateTime::GetEndDST(2004); + wxDateTime dt = wxDateTime::GetEndDST(2004, wxDateTime::France); CPPUNIT_ASSERT_EQUAL(31, (int)dt.GetDay()); CPPUNIT_ASSERT_EQUAL(wxDateTime::Oct, dt.GetMonth()); CPPUNIT_ASSERT_EQUAL(2004, (int)dt.GetYear());