]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl_getdate.3: document that some illegal dates pass through
authorDaniel Stenberg <daniel@haxx.se>
Mon, 30 May 2022 22:29:17 +0000 (00:29 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 31 May 2022 07:03:50 +0000 (09:03 +0200)
Closes #8938

docs/libcurl/curl_getdate.3

index d977a8ab353ed5ad21b582702f64ffe7359693de..570a45e35637f173aced23b6c642105407e32ec0 100644 (file)
@@ -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