return the beginning/end of DST in local time, not UTC, for consistency with the other methods; fixed the test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1231,9 +1231,6 @@ wxDateTime wxDateTime::GetBeginDST(int year, Country country)
|
||||
}
|
||||
|
||||
dt += wxTimeSpan::Hours(1);
|
||||
|
||||
// disable DST tests because it could result in an infinite recursion!
|
||||
dt.MakeGMT(true);
|
||||
}
|
||||
else switch ( country )
|
||||
{
|
||||
@@ -1332,9 +1329,6 @@ wxDateTime wxDateTime::GetEndDST(int year, Country country)
|
||||
}
|
||||
|
||||
dt += wxTimeSpan::Hours(1);
|
||||
|
||||
// disable DST tests because it could result in an infinite recursion!
|
||||
dt.MakeGMT(true);
|
||||
}
|
||||
else switch ( country )
|
||||
{
|
||||
|
Reference in New Issue
Block a user