Jul 09, 2015, 11:34 AM
[CLOSED] UTC versus Local datetime in Ext.NET versions
Hi,
I have problem with local dates while migrating project from Ext.NET 1.6 to Ext.NET 3.0.
My model returns date with kind Unspecified (30.6.2015 14:00:00), store sends it to UI in JSON (2015-06-30T14:00:00).
In UI, there are differences between Ext.NET versions. 1.6 shows in the way I want to (30.6.2015 14:00:00), but 3.0 shows (30.6.2015 16:00:00). There is 2 hours difference, because my time zone is UTC+02:00.
Is it a bug in old or new version? How can I fix it in Javascript?
Thanks
Laco
I have problem with local dates while migrating project from Ext.NET 1.6 to Ext.NET 3.0.
My model returns date with kind Unspecified (30.6.2015 14:00:00), store sends it to UI in JSON (2015-06-30T14:00:00).
In UI, there are differences between Ext.NET versions. 1.6 shows in the way I want to (30.6.2015 14:00:00), but 3.0 shows (30.6.2015 16:00:00). There is 2 hours difference, because my time zone is UTC+02:00.
Is it a bug in old or new version? How can I fix it in Javascript?
Thanks
Laco
Last edited by Daniil; Jul 09, 2015 at 4:06 PM.
Reason: [CLOSED]