From: Alejandro Colomar Date: Tue, 18 Feb 2025 14:21:56 +0000 (+0100) Subject: lib/strtoday.c: strtoday(): Replace obsolete comment X-Git-Tag: 4.18.0-rc1~98 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=284beeecdda7573b6c3b722a48e648bcd8fd7a3e;p=thirdparty%2Fshadow.git lib/strtoday.c: strtoday(): Replace obsolete comment Signed-off-by: Alejandro Colomar --- diff --git a/lib/strtoday.c b/lib/strtoday.c index 361ad39ed..dc682b393 100644 --- a/lib/strtoday.c +++ b/lib/strtoday.c @@ -19,20 +19,7 @@ #include "string/strspn/stpspn.h" -/* - * strtoday() now uses get_date() (borrowed from GNU shellutils) - * which can handle many date formats, for example: - * 1970-09-17 # ISO 8601. - * 70-9-17 # This century assumed by default. - * 70-09-17 # Leading zeros are ignored. - * 9/17/72 # Common U.S. writing. - * 24 September 1972 - * 24 Sept 72 # September has a special abbreviation. - * 24 Sep 72 # Three-letter abbreviations always allowed. - * Sep 24, 1972 - * 24-sep-72 - * 24sep72 - */ +// string parse-to day-since-Epoch long strtoday (const char *str) { time_t t;