[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in function date
From: |
Philip Rowlands |
Subject: |
Re: Bug in function date |
Date: |
Fri, 15 Apr 2005 18:02:42 +0100 (BST) |
On Fri, 15 Apr 2005, Leonardo Marques da Cruz wrote:
>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
I can't reproduce this:
$ date -d " 2005-02-19 00:00:00 24 hour " "+%y%m%d%H"
05022000
Perhaps something unexpected is being triggered by your configured
timezone? Running the following commands on your system may shed some
light:
$ date --utc -d " 2005-02-19 00:00:00 24 hour " "+%y%m%d%H"
05022000
$ date -d " 2005-02-19 00:00:00 24 hour " "+%y%m%d%H %z %Z"
05022000 +0000 GMT
Cheers,
Phil
- Bug in function date, Leonardo Marques da Cruz, 2005/04/15
- Re: Bug in function date,
Philip Rowlands <=