[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in function date
From: |
Leonardo Marques da Cruz |
Subject: |
Bug in function date |
Date: |
Fri, 15 Apr 2005 11:03:48 -0300 |
Dear Sir,
I'm using red hat enterprise and I'm having problems with function date.
When I call it with the sintax bellow, it returns me the following line, as
expected:
comand: date -d " 2005-02-18 00:00:00 24 hour " "+%y%m%d%H"
returns: 05021900
comand: date -d " 2005-02-20 00:00:00 24 hour " "+%y%m%d%H"
returns: 05022100
But when I configure february, 19th of 2005, it returns the wrong date:
comand: date -d " 2005-02-19 00:00:00 24 hour " "+%y%m%d%H"
returns: 05021923
This bug only happens with this specific day.
Hope you can help me.
Best Regards
Leo
::
Leonardo Marques da Cruz
PROOCEANO
Praça Floriano, 55 - s. 707
Cinelândia, Rio de Janeiro - RJ
Tel/Fax: (21) 2532.5666
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.11 - Release Date: 14/4/2005
- Bug in function date,
Leonardo Marques da Cruz <=