From eaed41872cd1bd127d33952073b8850f282dd964 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 22 Jul 2009 16:44:06 +0000 Subject: [PATCH] Handle %e in ParseFormat(). This allows us to parse the format returned by wxLocale::GetInfo(wxLOCALE_DATE_TIME_FMT) under Linux. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/datetimefmt.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/datetimefmt.cpp b/src/common/datetimefmt.cpp index e6544edd23..72746ff37c 100644 --- a/src/common/datetimefmt.cpp +++ b/src/common/datetimefmt.cpp @@ -1085,6 +1085,7 @@ wxDateTime::ParseFormat(const wxString& date, break; case _T('d'): // day of a month (01-31) + case 'e': // day of a month (1-31) (GNU extension) if ( !GetNumericToken(width, input, end, &num) || (num > 31) || (num < 1) ) { -- 2.45.2