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



Reply via email to