javascript - Date formatting incoming RSS feed best practice -
i importing rss feed wordpress blog , data coming in okay part although formatting on date bit more need sun, 20 feb 2011 07:43:06 -0800 ot display february 20th, 2011 using google feed api parse feed. , input appreciated.
the date.js library can out here:
date.parse( str ).tostring('mmmm dds, yyyy') where str data rss feed.
live demo: http://jsfiddle.net/xzfpc/
Comments
Post a Comment