]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/strtoday.c: strtoday(): Attempt parsing with str2sl() directly
authorAlejandro Colomar <alx@kernel.org>
Tue, 18 Feb 2025 14:24:34 +0000 (15:24 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Mon, 2 Jun 2025 07:59:51 +0000 (09:59 +0200)
commit3d7812eb731de2420c05331da013ece1652a75a9
tree3d95bcfc5ec158ffe1597f12594030df11e721f0
parentb8abe4e9d721b63538ad145c13aa4c13a7b30304
lib/strtoday.c: strtoday(): Attempt parsing with str2sl() directly

If it fails, let's fall back to get_date().

Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/strtoday.c