[CLOSED] Problem with dates

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Problem with dates

    Attached Thumbnails Click image for larger version. 

Name:	snapshot - database.png 
Views:	33 
Size:	8.8 KB 
ID:	6571   Click image for larger version. 

Name:	snapshot - application.png 
Views:	43 
Size:	91.1 KB 
ID:	6572  
    Last edited by Daniil; Jul 29, 2013 at 4:48 AM. Reason: [CLOSED]
  2. #2
  3. #3
    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.
  4. #4
    Hi Daniil!

    I updated the ext.net from svn/trunk...

    I insert this command in global.asax, in application start

    Ext.Net.JSON.GlobalSettings.DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Local
    But the issue still occurs...

    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!
  5. #5
    Quote Originally Posted by supera View Post
    I think that JSON gets the timezone of the host server...
    How I can force the timezone to local machine? Is the code above?
    Well, it is what this setting is supposed to do.
    Ext.Net.JSON.GlobalSettings.DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Local
    How do you serialize the dates? How do you bind the data to the Store? Could you, please, provide a sample?
  6. #6

Similar Threads

  1. [CLOSED] Specify how object is serialized in DirectMethod
    By jchau in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 12, 2013, 7:18 PM
  2. [CLOSED] Dates & Json & ComboBoxes
    By PhilG in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: May 24, 2012, 2:45 PM
  3. Replies: 10
    Last Post: Aug 01, 2011, 1:58 PM
  4. Replies: 3
    Last Post: May 11, 2010, 4:47 AM
  5. Problem with disable dates, when using culture setting
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Feb 26, 2009, 9:25 AM

Posting Permissions