Re: [qooxdoo-devel] JSON Date format

2011-03-07 Thread Martin Wittemann
Thanks. :) Am 07.03.2011 um 22:52 schrieb sub: > Hi Martin, > > Done!! -> Bug 4746 > > Cheers > > -- > View this message in context: > http://qooxdoo.678.n2.nabble.com/JSON-Date-format-tp6047708p6099208.html > Sent from the qooxdoo mailing list archive at Nabble.com. > > ---

Re: [qooxdoo-devel] JSON Date format

2011-03-07 Thread sub
Hi Martin, Done!! -> Bug 4746 Cheers -- View this message in context: http://qooxdoo.678.n2.nabble.com/JSON-Date-format-tp6047708p6099208.html Sent from the qooxdoo mailing list archive at Nabble.com. -- What You Don'

Re: [qooxdoo-devel] JSON Date format

2011-02-21 Thread Martin Wittemann
Hey, this sounds like its worth an enhancement report in our bugzilla. In the mean time, if you are using a store, you can easily use the delegate and set the "manipulateData" method which could parse all data and convert the ISO strings to date objects. Best, Martin Am 21.02.2011 um 23:23 schr

Re: [qooxdoo-devel] JSON Date format

2011-02-21 Thread Filonenko Michael
I misunderstood getCurrentTimestamp. It requires the return of the object, not Date. Thanks for the explanation, I will focus on native JSON ISO format -- With best regards, Michael Filonenko. -- Index, Search & Analyz

Re: [qooxdoo-devel] JSON Date format

2011-02-21 Thread sub
Hi Martin, The current system supports serializing QX objects to a JSON string notation using the ISO standard for dates (qx.util.Json). But serializing in the opposite direction - a JSON string notation into QX objects (qx.data.marshal.Json) does not attempt to process string literals in the ISO

Re: [qooxdoo-devel] JSON Date format

2011-02-20 Thread Martin Wittemann
Hey, > First of all thanks for really great work. Earlier I used Qt with > QtScript, and I think I just re-invented the Web browser. Thanks for the great feedback. :) > Could you tell me what Date format for JSON is used now? > I download RpcExample and found something like this: > > result: {

[qooxdoo-devel] JSON Date format

2011-02-20 Thread Filonenko Michael
Hi to all. First of all thanks for really great work. Earlier I used Qt with QtScript, and I think I just re-invented the Web browser. Could you tell me what Date format for JSON is used now? I download RpcExample and found something like this: result: { now: "MAYBE ISO" jsonDate: "ISO,

Re: [qooxdoo-devel] Json Date format from server to client

2010-03-23 Thread Patrick Paskvan
I suspect you've hit the nail on the head, Derrell, the call_date value is quoted in the return data. Had it shown up as a literal "new Date(...)" after being evaled on the client side, I probably would have figured this out. It was quite late both nights I looked at this, and it took me a while

Re: [qooxdoo-devel] Json Date format from server to client

2010-03-23 Thread Derrell Lipman
On Mon, Mar 22, 2010 at 23:35, Patrick Paskvan wrote: > Hello List, > > >From what I can tell from the documentation and qooxdoo code, qooxdoo > is simply evaling the json return value of an RPC call. In order to > pass a date from the server to client and have the client > automagically turn it

Re: [qooxdoo-devel] Json Date format from server to client

2010-03-23 Thread thron7
Pat, On 03/23/2010 04:35 AM, Patrick Paskvan wrote: > Hello List, > >>From what I can tell from the documentation and qooxdoo code, qooxdoo > is simply evaling the json return value of an RPC call. In order to > pass a date from the server to client and have the client > automagically turn it in

[qooxdoo-devel] Json Date format from server to client

2010-03-22 Thread Patrick Paskvan
Hello List, >From what I can tell from the documentation and qooxdoo code, qooxdoo is simply evaling the json return value of an RPC call. In order to pass a date from the server to client and have the client automagically turn it into a javascript date object, we should simply use "new Date()" a