Subject: bug#58494: touch resists date 2022-09-11T00:00:00

From: "Felix Freeman" <[email-masked]>
Date: Wed, 12 Oct 2022 22:58:14 -0300

I think I found a bug. In any format that I try to touch a file with the
date 2022-09-11 at 00:00, touch says I'm entering an invalid date
format.

    $ touch -t 202209110000 algo
    touch: invalid date format ‘202209110000’
    $ touch -d 2022-09-11T00:00:00 algo
    touch: invalid date format ‘2022-09-11T00:00:00’

If I change date or hour it works flawlessly

    $ touch -d 2022-09-11T01:00:00 algo
    $ echo $?
    0

Felix Freeman