pavelk2 / social-feed

JavaScript plugin that shows a user feed from the most popular social networks
http://pavelk2.github.io/social-feed-example/
MIT License
960 stars 303 forks source link

Twitter Invalidate Date on IE #207

Closed Kimutua closed 8 years ago

Kimutua commented 8 years ago

Assist debug a fore mentioned, this only happens on internet explorer. invalid date

stillatmylinux commented 8 years ago

Refer to this pull request https://github.com/pavelk2/social-feed/pull/204

HartLarsson commented 8 years ago

i've fixed it changing the line 272 from

post.dt_create = moment(new Date(element.created_at));

to

post.dt_create = moment(element.created_at, 'dd MMM DD HH:mm:ss ZZ YYYY');

johnzilojo commented 8 years ago

@HartLarsson Thanks soo much for the solution. It works great.

Kimutua commented 8 years ago

Thanks guys, works perfectly.

martijngastkemper commented 8 years ago

Solved by merging #212