It's a "bug" in the DateSerializer class.

One of the developers left commented a statement that would set the time
zone to "GMT/UTC" correctly.

-Chris

> -----Original Message-----
> From: Chris Means [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 11, 2002 7:42 PM
> To: [EMAIL PROTECTED]
> Subject: How are you handling dates?
>
>
> It seems as though the java.util.Date class is serializing dates in the
> local time zone, rather than the depicted Zulu time (GMT/UTC).
>
> Is anyone else doing Apache-SOAP development where they have to
> handle time
> zone issues?
>
> I'm storing everything in the backend database in GMT, so the middle tier
> expects to send and recieve all date/times in GMT.
>
> It's a client function to convert to the locale time if they need to.
>
> My problem is that unless I set the middle tier machine's time
> zone to GMT,
> dates keep on getting serialized into CST (my local time zone).
>
> Can anyone shed any light on this?
>
> TIA.
>
> -Chris
>

Reply via email to