[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9283: date increment failure for 2011-10-30
From: |
mike1 . lee |
Subject: |
bug#9283: date increment failure for 2011-10-30 |
Date: |
Thu, 11 Aug 2011 11:52:20 +0100 |
Here's what I found adding +1 days to a 2011-10-30
(BTW this is not a problem for any other date I tried)
fut=$(date -d"2011-10-30" '+%F') ;
echo $fut
2011-10-30
fut=$(date -d"$fut +1 days" '+%F') ;
echo $fut
2011-10-30
fut=$(date -d"$fut +2 days" '+%F') ;
echo $fut
2011-10-31
Is this reproducable for anyone else ?
uname -a
Linux xxxxxxxxx 2.6.16.60-0.58.1-smp #1 SMP Wed Dec 2 12:27:56 UTC 2009
x86_64 x86_64 x86_64 GNU/Linux
Regards,
Mike
************************************************************
HSBC Bank plc
Registered Office: 8 Canada Square, London E14 5HQ
Registered in England - Number 14259
Authorised and regulated by the Financial Services Authority
************************************************************
-----------------------------------------
SAVE PAPER - THINK BEFORE YOU PRINT!
This transmission has been issued by a member of the HSBC Group
"HSBC" for the information of the addressee only and should not be
reproduced and/or distributed to any other person. Each page
attached hereto must be read in conjunction with any disclaimer
which forms part of it. Unless otherwise stated, this transmission
is neither an offer nor the solicitation of an offer to sell or
purchase any investment. Its contents are based on information
obtained from sources believed to be reliable but HSBC makes no
representation and accepts no responsibility or liability as to its
completeness or accuracy.
- bug#9283: date increment failure for 2011-10-30,
mike1 . lee <=