Printable View
Hi @supera,
If you would deal wit the latest Ext.NET sources from the SVN trunk, then, I guess, this should work.
http://forums.ext.net/showthread.php?24696#post108759
I understand that you are with v2.1, but could you test your application with that thing and the Ext.NET trunk? Just to know for sure it helps or not.
If it doesn't help, please provide a test case to reproduce.
If it helps, we will think how to get it working with v2.1.
Hi Daniil!
I updated the ext.net from svn/trunk...
I insert this command in global.asax, in application start
But the issue still occurs...Code:Ext.Net.JSON.GlobalSettings.DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Local
In time.. when I'm run the application in Visual Studio, Works fine!
When I published in host server, I have the problem... host server is Arvixe.com...
I think that JSON gets the timezone of the host server...
How I can force the timezone to local machine? Is the code above?
Thanks for any help!
We just need to understand better how to you bind the data.
Please post a WebMethod which you refers in the AjaxProxy's Url.
Hello!
Thanks for your information. Take a look at this picture that I have in Toronto using your sample: Attachment 6603
I think your problem in definition of MS format: UTC milliseconds since epoch
So, for different time zones it will be different and I think on your server and your local computer you have different time zones.
What I would recommend is to use another format for deserialization.
Just to clarify something.
We (Ext.NET) don't affect how a WebService deserialize a response. So, this setting
doesn't make sense in your case. I was just unsure how you bind the data.Code:Ext.Net.JSON.GlobalSettings.DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Local
This time zone issue is quite a common problem. These links can shed some light on the topic.
http://blog.scosby.com/post/2013/03/...e-Columns.aspx
http://social.msdn.microsoft.com/For...ed-on-timezone