bug-coreutils
[Top][All Lists]
Advanced

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

bug#26101: Counterproductive calculation order in date


From: Assaf Gordon
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 <address@hidden> 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




reply via email to

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