org.w3.util.DateParser getIsoDate bug?
"Eitan Suez" <[email protected]> Tue, 30 Jul 2002 17:52:49 -0500
| Newsgroups | gmane.comp.web.jigsaw |
|---|---|
| Message-ID | <001601c2381b$d493be80$9865fea9@loop1eitan> |
hi,
does org.w3.util.DateParser's getIsoDate(Date) appears to
have a bug. the timezone does not appear to be added
properly:
buffer.append("Z");
whereas it should append the actual time zone off set in
the format +/-hh:mm
the test output confirms this:
>> 1997-07-16T19:20:30.45-02:00
>> Wed Jul 16 12:20:30 CDT 1997 [869073630450]
>> 1997-07-16T17:20:30.45Z <<<<<<<<<<<<<<<<<<
thanks, eitan