GNU bug report logs -
#58494
touch resists date 2022-09-11T00:00:00
Previous Next
To reply to this bug, email your comments to 58494 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#58494
; Package
coreutils
.
(Thu, 13 Oct 2022 14:30:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Felix Freeman" <libsys <at> hacktivista.org>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Thu, 13 Oct 2022 14:30:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#58494
; Package
coreutils
.
(Thu, 13 Oct 2022 17:43:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 58494 <at> debbugs.gnu.org (full text, mbox):
On 2022-10-12 18:58, Felix Freeman via GNU coreutils Bug Reports wrote:
> $ 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’
In Santiago, Chile, that timestamp does not exist. Is your timezone set
to Santiago time? That would explain your symptoms.
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#58494
; Package
coreutils
.
(Thu, 13 Oct 2022 18:52:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 58494 <at> debbugs.gnu.org (full text, mbox):
On Thu Oct 13, 2022 at 2:42 PM -03, Paul Eggert wrote:
> On 2022-10-12 18:58, Felix Freeman via GNU coreutils Bug Reports wrote:
> > $ 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’
>
> In Santiago, Chile, that timestamp does not exist. Is your timezone set
> to Santiago time? That would explain your symptoms.
I am, but I don't understand why the timezone would make a time not to
exist... What am I missing?
CC = 20
YY = 22
MM = 09
DD = 11
hh = 00
mm = 00
Felix Freeman
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#58494
; Package
coreutils
.
(Thu, 13 Oct 2022 18:55:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 58494 <at> debbugs.gnu.org (full text, mbox):
> > In Santiago, Chile, that timestamp does not exist. Is your timezone set
> > to Santiago time? That would explain your symptoms.
>
> I am, but I don't understand why the timezone would make a time not to
> exist... What am I missing?
Uh, oh, it's daylight saving time change... never thought of that. Good
catch!
Felix Freeman
This bug report was last modified 2 years and 45 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.