[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
'T' on ISO format on input not recognized
From: |
Jose Ramon Alvarez Sanchez |
Subject: |
'T' on ISO format on input not recognized |
Date: |
Wed, 08 Aug 2001 14:48:36 +0200 |
This error occurs with:
date (GNU sh-utils) 2.0.11
used in a Debian-GNU/Linux (testing version).
For example, the following command gives an
error of 'invalid date'
date -d '2001-08-08T20:00:00+0200'
where the date is correctly in ISO format ('T' is the
recommended date/time separator).
But the following command ('T' substituted by space)
recognizes correctly the date:
date -d '2001-08-08 20:00:00+0200'
Also if the zone diference is missing (but 'T' used as
separator) the time date recognized is erroneous
date -uIs -d '2001-08-08T20:00:00'
prints the erroneous time (with 7 hours of diference):
2001-08-08T13:00:00+0000
Is the standard default timezone '-0700' ?
(it seems to be an error in the parse of date input).
Sorry if this error was reported previously or if it was
corrected in a newer version.
Best regards,
--
,.....................................,..........................,....,
: Jose Ramon Alvarez Sanchez : Email: address@hidden :Ooo.:
: Dpto. de Inteligencia Artificial : Tel: (+34) 91-398-7199 :( ):
: Univ. Nac. de Educacion a Distancia : Fax: (+34) 91-398-6697 : ) |:
: Senda del Rey, 9 : --$[0,+oo)@!&>#%{}*\/^_= : (_):
: E-28040 Madrid SPAIN : http://www.ia.uned.es/~jras :
'.....................................:..........................:....'
Simple things are easier, you don't need to trouble your life.
Las cosas simples son mas sencillas, no te compliques la vida.
_,+'^'+,_,+'^'+,_ Usuario de Debian GNU/Linux: http://www.debian.org/
________________________________________ Linux Registered User #102342
La Espiral: http://www.laespiral.org/ Debian, para los usuarios...
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- 'T' on ISO format on input not recognized,
Jose Ramon Alvarez Sanchez <=