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

------------------------------------------------------------------------------
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

Reply via email to