-
28 May 2012 11:41 AM #1
Unanswered: Displaying future dates in chrome not working
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
-
28 May 2012 1:42 PM #2Sencha - Ext JS Dev Team
- Join Date
- Apr 2007
- Location
- Sydney, Australia
- Posts
- 15,103
- Vote Rating
- 97
- Answers
- 171
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!
-
29 May 2012 7:16 AM #3
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.


Reply With Quote