Created
October 2, 2014 17:13
-
-
Save tdominey/4a18ba062078a8d4f805 to your computer and use it in GitHub Desktop.
Formatting date from Pulse data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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