return date + (end - datestr.begin());
}
- const wchar_t *ParseFormat(const wchar_t *date,
- const wchar_t *format = wxDefaultDateTimeFormat,
- const wxDateTime& dateDef = wxDefaultDateTime)
+ const char *ParseFormat(const char *date,
+ const wxString& format = L"%c",
+ const wxDateTime& dateDef = wxDefaultDateTime)
{
- return ParseFormat(date, wxString(format), dateDef);
+ return ParseFormat(wxString(date), format, dateDef);
}
const char *ParseFormat(const char *date,