date returns the wrong day (DST problem?)

Bug #289535 reported by Ben Blout
6
Affects Status Importance Assigned to Milestone
coreutils (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Dapper by Ben Blout

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.

Tags: dapper
Ben Blout (bdb-new)
description: updated
Revision history for this message
C de-Avillez (hggdh2) wrote :

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.

Changed in coreutils (Ubuntu):
status: New → Invalid
Revision history for this message
Ben Blout (bdb-new) wrote :

I believe coreutils is included in the part of dapper that will be continued to be supported.

https://lists.ubuntu.com/archives/ubuntu-announce/2009-July/000123.html
http://people.ubuntu.com/~ubuntu-security/dapper/supported.txt

So I've re-opened this bug.

Changed in coreutils (Ubuntu):
status: Invalid → New
Revision history for this message
Andrew McCarthy (andrewmccarthy) wrote :

This bug was fixed many years ago, although it seems it wasn't backported to Dapper. Closing as Fix Released.

Changed in coreutils (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.