]> git.saurik.com Git - wxWidgets.git/commit
Fix time zone in wxDateTime::UNow().
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 20 Jan 2012 22:11:55 +0000 (22:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 20 Jan 2012 22:11:55 +0000 (22:11 +0000)
commit421388f204a5899d934bebb0152e0ce9de54d500
tree3af7cbb1f58905b85824fa5cdb007bce69b56f5e
parentf2c6e607622d2f8c684b2a6417bd43f52e3b9eef
Fix time zone in wxDateTime::UNow().

The internal wxDateTime representation is in the UTC, so use
wxGetUTCTimeMillis() in UNow(), using wxGetLocalTimeMillis() made it
inconsistent with Now() and wrong.

Really closes #13862.

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