Results 1 to 3 of 3

Thread: Date Format and Internet Explorer

  1. #1
    Sencha User
    Join Date
    Dec 2009
    Location
    Paris, France
    Posts
    16
    Vote Rating
    3
      0  

    Default Date Format and Internet Explorer

    Hi

    Not sure if this is really a bug or if i dont use the date filter correctly, but when using the date filter in ExtJS Xtemplates under IE8, the dates are not parsed correctly. I know IE date management is a joke but i thought ExtJS would handle it

    My input date is standard ISO format string: "2002-06-21T00:00:00.0000000"

    But using :date('Y-M-d') filter in the XTempalte doesnt work with IE8. (i get a blank string)

    I made a little override based workaround if some are interested : https://gist.github.com/4707132

    Cheers

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

    Default

    So you input a string or is it a date object?
    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
    Sencha User
    Join Date
    Dec 2009
    Location
    Paris, France
    Posts
    16
    Vote Rating
    3
      0  

    Default

    The data is "raw" JSON without a model+reader so i guess yes its a standard string. What's weird is that it works great on chrome/FF and not on IE...

Tags for this Thread

Posting Permissions

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