Hi John,
It should be in the same timezone where it was created, if you have an app that requires specific timezones then changes must be made as
the default serialization for java.util.Date doesn't take timezone into account, as well as DateMorpher and MapToDateMorpher from EZMorph.
Please raise a FR on the issue tracker, thanks.
Cheers,
Andres
----- Original Message ----
From: John Xiao <cod...@gm...>
To: jso...@li...
Sent: Wednesday, December 19, 2007 9:09:46 PM
Subject: [json-lib-user] java.util.Date
Default json format for java.util.Date is {
"minutes": 13,
"seconds": 14,
"hours": 12,
"month": 5,
"year": 2007,
"day": 17,
"milliseconds": 150
}
I don't see timezone information anywhere. Is it in UTC?
thanks,
John X.
--
Don't underestimate the Force!
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
|