Don't claim that wxDateTime uses strptime() in the documentation

This isn't the case any more since a long time, see 89a7e1ff98 (Added
wxLOCALE_DATE/TIME_FMT support to wxLocale::GetInfo()., 2009-03-29).

(cherry picked from commit 0cc5c37429)
This commit is contained in:
Vadim Zeitlin
2024-05-19 20:48:38 +02:00
parent 670280f1b5
commit 3771c5d046
+6 -8
View File
@@ -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.