GNU bug report logs -
#37060
bug in date / coreutils
Previous Next
Reported by: jensbaltrusch <at> vfemail.net
Date: Sat, 17 Aug 2019 03:38:02 UTC
Severity: normal
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#37060: bug in date / coreutils
which was filed against the coreutils package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 37060 <at> debbugs.gnu.org.
--
37060: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37060
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
I think that bug was fixed in 2017, and your coreutils version 8.23 predates the
fix. I suggest upgrading to the current version (8.31) of coreutils, as 8.23 is
pretty old anyway.
[Message part 3 (message/rfc822, inline)]
Hi,
I believe there is a bug in the date utility.
My system is set to Berlin time, now daylight saving time.
When I put in
date --date='TZ="Europe/Berlin" now'
I get correctly
Sat 17 Aug 05:11:18 CEST 2019
However, putting in
date --date='TZ="America/Los_Angeles" now'
yields
Sat 17 Aug 14:12:03 CEST 2019
which is nonsense. Also, putting in
date --date='TZ="Asia/Shanghai" now'
giving
Fri 16 Aug 23:13:36 CEST 2019
which is definitely wrong, as I am currently in China where the sun is
up and shining.
I get from date --version the following:
date (GNU coreutils) 8.23
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David MacKenzie.
My system is
Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u1 (2017-02-22)
x86_64 GNU/Linux
I get the same kind of error using 'today' instead of 'now', or
'tomorrow', '1 hour ago', etc.
In case you need further information, please do not hesitate to contact me.
Best,
Jens Baltrusch
This bug report was last modified 5 years and 364 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.