Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

ExtJS 4

View date.js
1 2 3 4 5 6 7 8 9 10 11 12 13
{
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.