Skip to content

Instantly share code, notes, and snippets.

@tdominey
Created October 2, 2014 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tdominey/4a18ba062078a8d4f805 to your computer and use it in GitHub Desktop.
Save tdominey/4a18ba062078a8d4f805 to your computer and use it in GitHub Desktop.
Formatting date from Pulse data
pulse.on( 'transitionstart', function(e) {
var data = e.data,
date = $('.time');
date.html( $K.formattedDate(data.published_on) );
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment