Here's a commonly used function for the date fix:

// Make date parseable in IE [Jon Aquino 2007-03-29]
// 
http://jonaquino.blogspot.com/2006/12/twitter-increasing-number-of-twitters.html
function fixDate(d) {
        var a = d.split(' ');
        var year = a.pop();
        return a.slice(0, 3).concat([year]).concat(a.slice(3)).join(' ');
}




On Mar 8, 3:38 am, Adrian <[email protected]> wrote:
> In IE, this date won't Date.parse
>
> Sun Mar 08 09:47:49 +0000 2009
>
> this will
>
> Sun, 08 Mar 2009 09:58:01 +0000
>
> the problem is with the missing comma in the former.
>
> The former are status creation times coming from the twitter.com API,
> the latter are coming from the search.twitter.com API.
>
> Could the comma be inserted.

Reply via email to