date returns the wrong day (DST problem?)
Bug #289535 reported by
Ben Blout
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| coreutils (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: coreutils
In Dapper, the "+1 week" relative time specification seems to be wrong.
~$ date
Sun Oct 26 12:39:09 EDT 2008
~$ date --date="next Saturday"
Sat Nov 1 00:00:00 EDT 2008
~$ date --date="next Saturday + 1 week"
Fri Nov 7 23:00:00 EST 2008
However, the same commands return the correct information on a Hardy machine:
~$ date
Sun Oct 26 12:41:27 EDT 2008
~$ date --date="next Saturday"
Sat Nov 1 00:00:00 EDT 2008
$ date --date="next Saturday + 1 week"
Sat Nov 8 00:00:00 EST 2008
So it looks like something that has been fixed upstream. Could the fix be included in Dapper? It bit me pretty badly this week.

I am sorry we never got to this bug in time. Dapper is now unsupported, and -- as you verified -- it works on Hardy (and Intrepid, since both use coreutils 6.10). I just tested with Karmic coreutils and current upstream, and both also work.
As such, closing.
Again, sorry.