On Wed, Jul 13, 2011 at 5:51 AM, Jorge Infante Osorio <[email protected]>wrote:

> Hi folks.
>
> I have a problem with the time zone in my ESB server.
> When I start the server, in the UI I see the right time, for example:
> Server Host                 127.0.0.1
> Server URL                   https://127.0.0.1:9445/services/
> Server Start Time      2011-07-12 18:48:49
> Time zone                     America/New_York (GMT-05:00)
>
> But in the message timestamp I see the right hour + 4, in this case my time
> = 19:06 and in the timestamp is 23:06
>
>         <wsu:Timestamp
> xmlns:wsu="
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurit
> y-utility-1.0.xsd" wsu:Id="Timestamp-4">
>            <wsu:Created>2011-07-12T23:06:11.796Z</wsu:Created>
>            <wsu:Expires>2011-07-12T23:11:11.796Z</wsu:Expires>
>         </wsu:Timestamp>
>

when serializing a time stamp xml serialize format is always relative to a
time zone. Z indicate it is relative to GMT.

I think this Four hour gap is due to daylight saving time.

in other words

2011-07-12T23:11:11.796Z == 2011-07-12T19:11:11.796-04:00

thanks,
Amila.

>
>
> Any idea on this?
>
> Saludos,
> Ing. Jorge Infante Osorio.
> J´Dpto Soluciones SOA.
> CDAE.
> Fac. 5.
> UCI.
>
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to