[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: date

From: Philip Rowlands
Subject: Re: date
Date: Tue, 3 Nov 2009 13:09:12 +0000 (GMT)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

On Mon, 2 Nov 2009, Escarrilla, Harold wrote:

/u/hescarri 29$ date -d"2009-10-30 + 3 days"
Sun Nov  1 23:00:00 EST 2009

It should be Nov 2.

I can't reproduce this, but it can't be a coincidence that daylight saving rules switched last weekend in America/New_York, and the given query spans the transition.

By giving an explicit time-of-day can you narrow down where the problem occurs? e.g.

$ date -d"01:00 2009-10-31 + 2 days"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]