Re: [qooxdoo-devel] Java backend and Javascript date

2010-06-12 Thread Burak Arslan
On 06/12/10 19:32, Fink, Andreas wrote: > It isn't a problem of sending the data in the wrong format, it's a > problem of Javascript (maybe only on some systems). > If I send the Java Date object back to the frontend, I get the correct > date back (of course, it is again wrong transferred from UTC

Re: [qooxdoo-devel] Java backend and Javascript date

2010-06-12 Thread Greg Beaver
t; Von: Derrell Lipman [mailto:[email protected]] > Gesendet: Samstag, 12. Juni 2010 16:53 > An: qooxdoo Development > Betreff: Re: [qooxdoo-devel] Java backend and Javascript date > > On Sat, Jun 12, 2010 at 07:37, Fink, Andreas > wrote: > Hi Derrell, > &g

Re: [qooxdoo-devel] Java backend and Javascript date

2010-06-12 Thread Jean-Baptiste BRIAUD -- Novlog
or pdf) using the > data from the database. So this apps get wrong data. > > Regards, > Andreas > > > Von: Derrell Lipman [mailto:[email protected]] > Gesendet: Samstag, 12. Juni 2010 16:53 > An: qooxdoo Development > Betreff: Re: [qooxdoo-devel] Java

Re: [qooxdoo-devel] Java backend and Javascript date

2010-06-12 Thread Fink, Andreas
s, csv or pdf) using the data from the database. So this apps get wrong data. Regards, Andreas Von: Derrell Lipman [mailto:[email protected]] Gesendet: Samstag, 12. Juni 2010 16:53 An: qooxdoo Development Betreff: Re: [qooxdoo-devel] Java backend and Javascript date On Sat, J

Re: [qooxdoo-devel] Java backend and Javascript date

2010-06-12 Thread Derrell Lipman
On Sat, Jun 12, 2010 at 07:37, Fink, Andreas wrote: > Hi Derrell, > > I'm using Firefox Version 3.6.3 > > My idea for a workaround is that the RpcJava backend can take care of > the problem while serialization and de-serialization the date objects. > I'll have a look at it, maybe I'm able to prov

Re: [qooxdoo-devel] Java backend and Javascript date

2010-06-12 Thread Fink, Andreas
Derrell Lipman [mailto:[email protected]] Gesendet: Samstag, 12. Juni 2010 12:54 An: qooxdoo Development Betreff: Re: [qooxdoo-devel] Java backend and Javascript date On Sat, Jun 12, 2010 at 05:01, Fink, Andreas wrote: Hi, I've digged deeper in the problem and found out that

Re: [qooxdoo-devel] Java backend and Javascript date

2010-06-12 Thread Derrell Lipman
On Sat, Jun 12, 2010 at 05:01, Fink, Andreas wrote: > Hi, > > I've digged deeper in the problem and found out that the daylight saving > offset is handled different in Java and Javascript. > For example: > The date 04/01/1980 is in javascript handled with a daylight saving offset > and in Java wi

Re: [qooxdoo-devel] Java backend and Javascript date

2010-06-12 Thread Fink, Andreas
rule and not the really used rules. That's really hard to handle. Regards, Andreas > -Ursprüngliche Nachricht- > Von: Burak Arslan [mailto:[email protected]] > Gesendet: Freitag, 11. Juni 2010 15:52 > An: qooxdoo Development > Betreff: Re: [qooxdoo-devel] Ja

Re: [qooxdoo-devel] Java backend and Javascript date

2010-06-11 Thread Burak Arslan
On 06/11/10 16:11, Fink, Andreas wrote: > Thanks for your advice. > This Java Date and Calendar functions driving me nuts! :) > hi, i'm no java expert either but here we go: there are two types of time zones. one defines absolute utc offsets, the other gets translated to utc offsets based on

Re: [qooxdoo-devel] Java backend and Javascript date

2010-06-11 Thread Fink, Andreas
lly" > restore the time zone from the front end, as usually times get > normalized internally. > > T. > > > > > Regards, > > Andreas > > > >> -Ursprüngliche Nachricht- > >> Von: thron7 [mailto:thomas.herchenroe...@1und1

Re: [qooxdoo-devel] Java backend and Javascript date

2010-06-11 Thread thron7
nternally. T. > > 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 da

Re: [qooxdoo-devel] Java backend and Javascript date

2010-06-11 Thread Fink, Andreas
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

Re: [qooxdoo-devel] Java backend and Javascript date

2010-06-11 Thread thron7
> 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 {} Mo

Re: [qooxdoo-devel] Java backend and Javascript date

2010-06-11 Thread Fink, Andreas
gt; 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: >

Re: [qooxdoo-devel] Java backend and Javascript date

2010-06-11 Thread Jean-Baptiste BRIAUD -- Novlog
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 obje

[qooxdoo-devel] Java backend and Javascript date

2010-06-10 Thread Fink, Andreas
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 s