--- Begin Message ---
Subject: |
Problem with date +%s -d |
Date: |
Wed, 19 Jan 2011 13:51:13 -0500 |
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
The information contained in this e-mail is confidential and/or proprietary
to Capital One and/or its affiliates. The information transmitted herewith
is intended only for use by the individual or entity to which it is
addressed. If the reader of this message is not the intended recipient,
you are hereby notified that any review, retransmission, dissemination,
distribution, copying or other use of, or taking of any action in reliance
upon this information is strictly prohibited. If you have received this
communication in error, please contact the sender and delete the material
from your computer.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#7866: Problem with date +%s -d |
Date: |
Wed, 19 Jan 2011 13:39:13 -0700 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Arvizu, Bob (CONT) wrote:
> That's great, because that means there's no bug!!
Closing this bug ticket with this message.
Bob
--- End Message ---