curl_getdate.3: document that some illegal dates pass through

Closes #8938
This commit is contained in:
Daniel Stenberg 2022-05-31 00:29:17 +02:00
Родитель 07a400c8e0
Коммит b1f8d50a92
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 5CC908FDB71E12C2
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -33,6 +33,10 @@ time_t curl_getdate(char *datestring, time_t *now);
1st 1970 00:00:00 in the UTC time zone, for the date and time that the
\fIdatestring\fP parameter specifies. The \fInow\fP parameter is not used,
pass a NULL there.
This function works with valid dates and does not always detect and reject
wrong dates, such as February 30.
.SH PARSING DATES AND TIMES
A "date" is a string containing several items separated by whitespace. The
order of the items is immaterial. A date string may contain many flavors of