GNU bug report logs - #7866
Problem with date +%s -d

Previous Next

Package: coreutils;

Reported by: "Arvizu, Bob (CONT)" <Bob.Arvizu <at> capitalone.com>

Date: Wed, 19 Jan 2011 18:45:02 UTC

Severity: normal

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Arvizu, Bob (CONT)" <Bob.Arvizu <at> capitalone.com>
To: 7866 <at> debbugs.gnu.org
Cc: "Barrar, John" <john.barrar <at> capitalone.com>, "Sheth, Amit \(CONT\)" <Amit.Sheth <at> capitalone.com>
Subject: bug#7866: Problem with date +%s -d 
Date: Wed, 19 Jan 2011 13:51:13 -0500
[Message part 1 (text/plain, inline)]
Folks,

fyi ...
I've discovered a problem with the "date +%s -d Date" command on
Linux xxxxxx 2.6.9-89.0.23.ELsmp #1 SMP Fri Mar 5 17:56:21 EST 2010 i686 i686 i386 GNU/Linux
and
Linux yyyyyy 2.6.9-89.0.28.ELlargesmp #1 SMP Thu Jul 22 18:24:58 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

date +%s -d 20110313
1299992400
date +%s -d 20110314
1300075200
echo $(( 1300075200 - 1299992400 ))
82800


Regards,
Bob Arvizu

</pre>






The information contained in this e-mail is confidential and/or proprietary 
<br>
to Capital One and/or its affiliates. The information transmitted herewith
<br>
is intended only for use by the individual or entity to which it is 
<br>
addressed.  If the reader of this message is not the intended recipient, 
<br>
you are hereby notified that any review, retransmission, dissemination, 
<br>
distribution, copying or other use of, or taking of any action in reliance 
<br>
upon this information is strictly prohibited. If you have received this 
<br>
communication in error, please contact the sender and delete the material 
<br>
from your computer.
<br>


</pre>
[Message part 2 (text/html, inline)]

This bug report was last modified 14 years and 126 days ago.

Previous Next


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