Results 1 to 3 of 3

Thread: Displaying future dates in chrome not working

  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    16
    Vote Rating
    0
      0  

    Default Unanswered: Displaying future dates in chrome not working

    I have a grid displayed with the Date/Time column, using the following render:
    dateRenderer('d/m/Y g:i a'), now this displays all dates and times fine under IE and FireFox, but under Google Chrome it is displaying as NaN/NaN/0Nan 12:NaN pm,

    Attached is screen shot from Chrome
    Issue1.png
    Now the same from FireFox, this is also the same in IE
    Issue1Correct.png
    Is this a bug or is it just a simple Render issue, if so can some body let me know which format I should use.

    Thanks

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    18,438
    Answers
    651
    Vote Rating
    859
      0  

    Default

    It's most likely a parsing issue, WebKit is a bit more strict if you're using new Date() and passing it a string.

    What does your server data look like? Your model?
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Posts
    16
    Vote Rating
    0
      0  

    Default

    Thanks, you pointed me in the right direction, the problem was with the DateTime format coming from my web service, this has now been sorted.

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
  •