Skip to content
Create a gist now

Instantly share code, notes, and snippets.

ExtJS 4
{
name: 'clockOut',
mapping: 'clockOut',
renderer: function(value, id, r) {
var d = new Date(r.data['clockOut']);
return d.format('H:i A');
},
type: 'date'
}
// Results in:
// Mon Jan 01 1900 22:30:00 GMT-0500 (Eastern Standard Time)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.