Dear SmartGWT users,
please help me with my problem.
I have ListGrid which have set RestDataSource. This data source contains DataSourceDateField named creationDate.
In the database value of the creationDate is set to 2009-03-17 14:21:39. In the JSON string received from server value of the creationDate is set to 2009-03-17T14:21:39. This is OK. But when ListGrid is displayed then value of the creationDate is set to 2009-03-17 15:21:39 which is not correct value.
It seems for me that there is some time zone logic behind the scene. I am in the time zone Europe/Prague (+1, DST +2). I could not find any relevant informations about this behaviour in the docs. Any clue how to display date in the ListGrid without the time zone offset?
Best regards,
Ales
please help me with my problem.
I have ListGrid which have set RestDataSource. This data source contains DataSourceDateField named creationDate.
In the database value of the creationDate is set to 2009-03-17 14:21:39. In the JSON string received from server value of the creationDate is set to 2009-03-17T14:21:39. This is OK. But when ListGrid is displayed then value of the creationDate is set to 2009-03-17 15:21:39 which is not correct value.
It seems for me that there is some time zone logic behind the scene. I am in the time zone Europe/Prague (+1, DST +2). I could not find any relevant informations about this behaviour in the docs. Any clue how to display date in the ListGrid without the time zone offset?
Best regards,
Ales
Comment