You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has nothing to do with Timeago. It has to do with the fact that IE
sucks at parsing Dates. Hell, javascript in general stinks at parsing
Dates. You're passing a Date object to timeago. You need to make sure it's
valid first.
For example, try this in IE:
alert(new Date("Tue Mar 01 16:25:52 +0000 2011"))
IE just doesn't understand the Date format that Twitter passes back. You
might want to try stripping out the timezone offset first. IE should be able
to parse a date without that.
I'm using your script for displaying time ago for latest tweet.
It works like charm on all browsers except IE. It doesn't work on any version of IE. On IE, it is displayed NaN years ago.
Here is the URL, I'm waiting for your reply on how to fix this.
http://projects.xcellence-it.com/HotHouse/
Thanks in advance,
Xcellence-IT
http://www.xcellence-it.com/
The text was updated successfully, but these errors were encountered: