Initialize time zone information before using it in wxGetTimeZone().
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Nov 2010 16:18:47 +0000 (16:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Nov 2010 16:18:47 +0000 (16:18 +0000)
commitff1e36afc063262750da38ca866784645be13520
treed5cc189b511c277c3614991b199c2a0223163b72
parentb296009869b608b12f415decd86c49bf5799a140
Initialize time zone information before using it in wxGetTimeZone().

We must call _tzset() before calling _get_timezone() as while this is normally
done implicitly by the other time functions, it might not have been done yet
if create a wxDateTime::TimeZone before calling any of them.

Closes #12700.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/datetime.cpp