Re: Using date with the -d option produces inconsistent results
From:
Eric Blake
Subject:
Re: Using date with the -d option produces inconsistent results
Date:
Sun, 04 Jun 2006 18:30:24 +0000
> $ date -d 08:43
> Sun Jun 4 08:43:00 CEST 2006
>
> $ $date -d 2006-06-04T08:43
^
> Sun Jun 4 03:43:00 CEST 2006
> ------------^
The date parser currently treats T as the military time zone
designator, and not the ISO field separator between
date and time. Patches to the parser are welcome, but
for now this is a documented limitation of the ambiguities
of date parsing.
--
Eric Blake