mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-25 17:15:45 +08:00
Don't claim that wxDateTime uses strptime() in the documentation
This isn't the case any more since a long time, see89a7e1ff98(Added wxLOCALE_DATE/TIME_FMT support to wxLocale::GetInfo()., 2009-03-29). (cherry picked from commit0cc5c37429)
This commit is contained in:
@@ -935,14 +935,12 @@ public:
|
||||
bool ParseDateTime(const wxString& datetime, wxString::const_iterator *end);
|
||||
|
||||
/**
|
||||
This function parses the string @a date according to the given
|
||||
@e format. The system @c strptime(3) function is used whenever
|
||||
available, but even if it is not, this function is still implemented,
|
||||
although support for locale-dependent format specifiers such as
|
||||
@c "%c", @c "%x" or @c "%X" may not be perfect and GNU extensions such
|
||||
as @c "%z" and @c "%Z" are not implemented. This function does handle
|
||||
the month and weekday names in the current locale on all platforms,
|
||||
however.
|
||||
Parses the string @a date according to the given @e format.
|
||||
|
||||
This function is similar to @c strptime(3) but doesn't use it and
|
||||
implements the parsing itself, with support for all the standard
|
||||
(POSIX) formatting specifiers as well as a number of GNU extensions
|
||||
such as `%l`, `%F`, `%z` (but not `%Z`, currently) etc.
|
||||
|
||||
Please see the description of the ANSI C function @c strftime(3) for
|
||||
the syntax of the format string.
|
||||
|
||||
Reference in New Issue
Block a user