social-feed icon indicating copy to clipboard operation
social-feed copied to clipboard

Invalid date for Twitter feed

Open Hypocrite opened this issue 7 years ago • 3 comments

I am getting Invalid date printed for Twitter posts when using the date value with localized date. Facebook and Instagram work fine.

Searched through the old issues but only found similar issues with Internet Explorer. I get the same problem both with Chrome and Firefox.

Downloaded the latest version of the script and using following versions of the other libraries: https://cdnjs.cloudflare.com/ajax/libs/dot/1.1.0/doT.min.js https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.17.1/moment.min.js https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.17.1/locale/fi.js

Codebird version is 3.0.0-dev.

Anyone else had similar issues?

Hypocrite avatar Mar 30 '17 04:03 Hypocrite

After digging around a moment I noticed that removing the localized version of moment fixes the problem.

Hypocrite avatar Mar 30 '17 05:03 Hypocrite

Which files are you removing?

jcbcrn avatar Jul 20 '18 22:07 jcbcrn

If I remember correctly, I just removed the link to https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.17.1/locale/fi.js.

Hypocrite avatar Jul 21 '18 04:07 Hypocrite