Restore ability to parse hours only with wxDateTime::ParseTime().
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 May 2013 13:05:49 +0000 (13:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 May 2013 13:05:49 +0000 (13:05 +0000)
commit2747a51b243ef5d44cec5b4e3757d56af56352a2
tree9b4a55cb0336f71fd2958ba2425e249cdb6c9e2a
parentb561290c3aa6d8009e4770526b3286d16c905ce9
Restore ability to parse hours only with wxDateTime::ParseTime().

This was accidentally removed in r51059, but worked in 2.8 and so should
continue to work.

Also add a unit test to ensure that this doesn't get broken again in the
future.

Closes #15204.

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