Re: Date Serialization
Yup, probably the timezone offset. We tripped over that too (wrong
dates when the server and client were in different time zones); we
stopped serializing Date objects and switched to sending a customized
y/m/d value instead.
On Jul 3, 2:41 pm, Paul Robinson <ukcue...@gmail.com> wrote:
> On 03/07/12 21:41, Daniel F. wrote:
>
> > Am Dienstag, 3. Juli 2012 14:42:11 UTC+2 schrieb PhiLho:
>
> > On 30/06/2012 16:37, Daniel F. wrote:
> > > I need to parse serialized *java.util.Date* values in Python. Where can I find information
> > > on the timestamp that represents date and time in the serialized format?
>
> > JavaDoc...http://docs.oracle.com/javase/6/docs/api/java/util/Date.html<http://docs.oracle.com/javase/6/docs/api/java/util/Date.html>
> > See getTime()
>
> > This does not seem to be the value which I find in the serialized date. I still have to subtract some "magic value" from it.
>
> The timezone offset, by any chance?
>
> Paul
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home