Smartgwtpro 3.1p
I have a ListGrid with datasource containing a DateTimeField, following is a snippet
The incoming data for 'dateTime' is in the format 'YYYY-MM-DDThh:mm:ssZ' where Z is + or - followed by a time expression hh:mm to indicate timezone.
But the listgrid is always treating it as UTC. How can I have the datasource translate timezone info? Thanks.
I have a ListGrid with datasource containing a DateTimeField, following is a snippet
Code:
DataSource dataSource = new DataSource(); dataSource.setDataFormat(DSDataFormat.JSON); ... DataSourceDateTimeField dateTimefield = new DataSourceDateTimeField("dateTime", "Date/Time");
But the listgrid is always treating it as UTC. How can I have the datasource translate timezone info? Thanks.
Comment