Results 1 to 6 of 6

Thread: Ext.Date UTC Support?

  1. #1
    Ext JS Premium Member
    Join Date
    Apr 2011
    Posts
    25
    Vote Rating
    0
      0  

    Default Ext.Date UTC Support?

    We (and I think many others) prefer to do date calculations in UTC, and then display a localized version of the date when we want to format/display it to the screen (if desired...we generally just keep UTC). I've been overriding a bunch of Ext.Date functions to get this to work, but was wondering if there was either a different way to do this, or plans on your part to provide some UTC support in the future.

    Thanks,
    Jeff

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    There is an open bug report to be able to change timezones. Is that what you are having problems with?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Ext JS Premium Member
    Join Date
    Apr 2011
    Posts
    25
    Vote Rating
    0
      0  

    Default

    essentially...we're specifically looking to do our date arithmetic, formatting, etc. in UTC, but to be able to do that stuff in any specified time zone would be great. Sorry that I didn't see the bug report - do you mind linking to it so I can follow?

    Thanks

  4. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    I opened it internally when I ran into the issue. There is no release currently planned to include a fix for this but yes... it is planned.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  5. #5
    Sencha User
    Join Date
    Mar 2012
    Posts
    7
    Vote Rating
    0
      0  

    Default any progress?

    Hello,

    I am currently starting with a new app and need to support universal dates.
    Any idea on when we can expect something?
    or not for that matters, then I roll my own....

  6. #6
    Ext JS Premium Member
    Join Date
    Apr 2011
    Posts
    25
    Vote Rating
    0
      0  

    Default Google Closure Library

    Hey Daniel,
    We ended up overriding some of the Ext.Date methods so we could control all date manipulating ourselves. Also, ended up using google's closure library within many of those function for solid handling of time zone manipulation.

    Best of luck,
    Jeff

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •