GNU bug report logs - #58494
touch resists date 2022-09-11T00:00:00

Previous Next

Package: coreutils;

Reported by: "Felix Freeman" <libsys <at> hacktivista.org>

Date: Thu, 13 Oct 2022 14:30:02 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Felix Freeman" <libsys <at> hacktivista.org>
To: <bug-coreutils <at> gnu.org>
Subject: touch resists date 2022-09-11T00:00:00
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




This bug report was last modified 2 years and 251 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.