]> git.saurik.com Git - wxWidgets.git/commit
Fix wxDateTime::GetWeekOfYear() for the days in the last week of the year.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Jan 2013 02:09:48 +0000 (02:09 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Jan 2013 02:09:48 +0000 (02:09 +0000)
commit12ce0a7402f0fe0a7cac5864aace9d72f4242c6f
tree845911ff66bacf1dbabd65300c1b95bcacf7d8b0
parent09ca8913fa357e71dd3fb3874de2270e871d6b9e
Fix wxDateTime::GetWeekOfYear() for the days in the last week of the year.

The code took into account the possibility that the days in the beginning of
the year might belong to the last week of the previous year but not that the
days at the end of the year could belong to the first week of the next year.

Closes #14973.

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