28 May 2012 11:41 AM #1
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
Now the same from FireFox, this is also the same in IE
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.
28 May 2012 1:42 PM #2
- Join Date
- Apr 2007
- Sydney, Australia
- Vote Rating
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
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.