I have a strange problem. When I pass date as a timestamp (generated
from JavaScript object Date.getTime() ) to DateFieldDef I receive
wrong date. Fo example:
timestamp: 1229417423796
Date: Wed Sep 8 09:56:36 UTC+0200 40928

timestamp: 1229416807875
Date: Wed Sep 1 06:51:15 UTC+0200 40928

Here is my code:


         final RecordDef recordDef = new RecordDef(new FieldDef[]{
                 new StringFieldDef("user"),
                 new DateFieldDef("data", "data", "timestamp"),
                 new StringFieldDef("nota")
        });

What is wrong with my code???

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to