]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/datetimefmt.cpp
adding default impl
[wxWidgets.git] / src / common / datetimefmt.cpp
index fda6c0ad52925ba98a1b0ef2264c3a0cbe8b1f53..0868f626aa24237d0bd16dc00c8dc2b431d68a60 100644 (file)
@@ -2105,6 +2105,8 @@ wxDateTime::ParseTime(const wxString& time, wxString::const_iterator *end)
         "%H:%M:%S",     // could be the same or 24 hour one so try it too
         "%I:%M %p",     // 12hour with AM/PM but without seconds
         "%H:%M",        // and a possibly 24 hour version without seconds
+        "%I %p",        // just hour with AM/AM
+        "%H",           // just hour in 24 hour version
         "%X",           // possibly something from above or maybe something
                         // completely different -- try it last