You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
458 B
21 lines
458 B
11 years ago
|
'use strict';
|
||
|
define(
|
||
|
[
|
||
|
'Cells/NzbDroneCell',
|
||
|
'moment'
|
||
|
], function (NzbDroneCell, Moment) {
|
||
|
return NzbDroneCell.extend({
|
||
|
|
||
|
className: 'log-time-cell',
|
||
|
|
||
|
render: function () {
|
||
|
|
||
|
var date = Moment(this._getValue());
|
||
|
this.$el.html(date.format('LT'));
|
||
|
this.$el.attr('title', date.format('LLLL'));
|
||
|
|
||
|
return this;
|
||
|
}
|
||
|
});
|
||
|
});
|