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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -