Sorry, as always I forgot some necessary information: Qooxdoo 1.1 RpcJava with JSON
Regards, Andreas > -----Ursprüngliche Nachricht----- > Von: Jean-Baptiste BRIAUD -- Novlog [mailto:[email protected]] > Gesendet: Freitag, 11. Juni 2010 09:39 > An: qooxdoo Development > Betreff: Re: [qooxdoo-devel] Java backend and Javascript date > > > On 11 juin 2010, at 08:40, Fink, Andreas wrote: > > > Hi all, > > > > if I send a javascript date object to the java backend I get a > > difference of one hour. > > > > For example: > > I choose 05/24/1970 in a DateField (representing string is Sun May 24 > > 1970 00:00:00 GMT+0200 {}') and deliver the date object to the backend a > > print of the Java date object to the console shows 'Sat May 23 23:00:00 > > CET 1970'. > > > > As you can see there is a difference of one hour and unfortunately the > > day before. The really strange thing is that there are dates where > > everything is correct and dates where this difference happens I thought > > it might have something to do with the daylight saving time but some > > more tests didn't confirm that: > > > > Tue Apr 01 1980 00:00:00 GMT+0200 {} <becomes> Mon Mar 31 23:00:00 CET > > 1980 > > Thu May 01 1980 00:00:00 GMT+0200 {} <becomes> Thu May 01 00:00:00 CEST > > 1980 > > Sat Nov 20 2004 00:00:00 GMT+0100 {} <becomes> Sat Nov 20 00:00:00 CET > > 2004 > > > > Regards, > > Andreas > > > Hi Andreas, > > What Java backend and serialization are you using ? > > > --------------------------------------------------------------------------- > --- > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
