]> git.saurik.com Git - wxWidgets.git/commit
Don't assert in wxDateTime::Format("%p") in locales not using AM/PM.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 13 Oct 2011 14:54:29 +0000 (14:54 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 13 Oct 2011 14:54:29 +0000 (14:54 +0000)
commitc105b3cdd4ac47e095b257137db787821737317a
treea0f120977202d7ab41ba53f397f0a5b3a42c88db
parentbb8823c9587360ecca01279e428ed307f8cd57c4
Don't assert in wxDateTime::Format("%p") in locales not using AM/PM.

If a locale doesn't use AM/PM strings, strftime() can return an empty string
which does not indicate an error, so don't assert that strftime() failed in
this case.

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