]> git.saurik.com Git - wxWidgets.git/commitdiff
really fixed the DST test by using explicit country in it
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Sep 2007 19:28:29 +0000 (19:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Sep 2007 19:28:29 +0000 (19:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/datetime/datetimetest.cpp

index 69452d8d0833bb6f838e8495a1f10dee1e2bd28f..8caa1e71c42495b5170c9bdf45fed509f9834608 100644 (file)
@@ -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());