}
const char *ParseFormat(const char *date,
- const wxString& format = wxDefaultDateTimeFormat,
+ const wxString& format = L"%c",
const wxDateTime& dateDef = wxDefaultDateTime)
{
return ParseFormat(wxString(date), format, dateDef);
}
+ const char *ParseFormat(const char *date,
+ const char *format = wxDefaultDateTimeFormat,
+ const wxDateTime& dateDef = wxDefaultDateTime)
+ {
+ return ParseFormat(wxString(date), wxString(format), dateDef);
+ }
+
// parse a string containing the date/time in "free" format, this
// function will try to make an educated guess at the string contents
const char *ParseDateTime(const wxString& datetime,