]> git.saurik.com Git - wxWidgets.git/commit
Correctly parse times without seconds in wxDateTime::ParseTime().
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 4 Jan 2010 11:05:47 +0000 (11:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 4 Jan 2010 11:05:47 +0000 (11:05 +0000)
commit8b7d411f1406c470e87be9ab225906ba7fd24aa2
treeb1d07db139a3c6bb27180aeb96c4eac6f8e4a5fa
parent462f4f19b5e20055a59ca93cdc19094552a416f1
Correctly parse times without seconds in wxDateTime::ParseTime().

This was always supposed to work but never did because of a typo in the "24
hour format without seconds" format specification. Fix this by removing the
extra "%S" from it and add a test for this case.

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