OK, that's logical, but why it sometimes creates the date in CET and sometimes in CEST, even if it's GMT+0200 in the frontend? And how to fix it?
Regards, Andreas > -----Ursprüngliche Nachricht----- > Von: thron7 [mailto:[email protected]] > Gesendet: Freitag, 11. Juni 2010 09:57 > An: qooxdoo Development > Betreff: Re: [qooxdoo-devel] Java backend and Javascript date > > > > > 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'. > > ... > > 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 > > It all hinges on the time zone: GMT != CET > > GMT = UTC+0 > CET = UTC+1 > CEST= UTC+2 > > So in your example GMT+0200 equals UTC+2 which equals CET-1 which equals > CEST, etc. > > T. > > > > > Regards, > > Andreas > > > > ------------------------------------------------------------------------- > ----- > > 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 ------------------------------------------------------------------------------ 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
