org.w3.util.DateParser getIsoDate bug?

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

Received on Tuesday, 30 July 2002 18:50:34 UTC