GNU bug report logs - #26101
Counterproductive calculation order in date

Previous Next

Package: coreutils;

Reported by: Ulf Zibis <Ulf.Zibis <at> gmx.de>

Date: Wed, 15 Mar 2017 00:42:01 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Assaf Gordon <assafgordon <at> gmail.com>
To: 26101 <at> debbugs.gnu.org
Subject: bug#26101: Counterproductive calculation order in date
Date: Wed, 15 Mar 2017 15:39:14 -0400
Correcting my own mistake:

> On Mar 15, 2017, at 10:40, Assaf Gordon <assafgordon <at> gmail.com> wrote:
> 
> When adjusting days, it is equivalent to subtracting
> the number of seconds from the current unix epoch (i.e. seconds since 1970-01-01).
> [...]

Adjusting days is equivalent to adjusting hours/minutes/seconds
ONLY when there are no edge cases like daylight saving time.

"1 day" is not always "24 hours" nor "86400 seconds".

regards,
 - assaf



This bug report was last modified 6 years and 265 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.