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(['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