Skip to content

Instantly share code, notes, and snippets.

@dunn
Created May 31, 2014 22:46
Show Gist options
  • Save dunn/0a4082597eede80e5a57 to your computer and use it in GitHub Desktop.
Save dunn/0a4082597eede80e5a57 to your computer and use it in GitHub Desktop.
parsing Twitter API dates with moment.js
var tweetTime = moment('Wed May 28 05:51:51 +0000 2014', "ddd MMM D HH:mm:ss ZZ YYYY");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment