Results 1 to 3 of 3

Thread: Date Format and Internet Explorer

Hybrid View

Previous Post Previous Post   Next Post Next Post
  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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Answers
    3976
    Vote Rating
    1382
      0  

    Default

    So you input a string or is it a date object?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    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
  •