mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
sugar kills (removed sugar.js)
Relative dates for next airing on posters and list (series) History time shows real time on tooltip
This commit is contained in:
parent
641e01376b
commit
207d9c256d
21 changed files with 296 additions and 9100 deletions
|
@ -2,8 +2,9 @@
|
|||
|
||||
define(
|
||||
[
|
||||
'backgrid'
|
||||
], function (Backgrid) {
|
||||
'backgrid',
|
||||
'moment'
|
||||
], function (Backgrid, Moment) {
|
||||
return Backgrid.Cell.extend({
|
||||
|
||||
className: 'episode-status-cell',
|
||||
|
@ -16,7 +17,7 @@ define(
|
|||
var icon;
|
||||
var tooltip;
|
||||
|
||||
var hasAired = Date.create(this.model.get('airDate')).isBefore(Date.create());
|
||||
var hasAired = Moment(this.model.get('airDate')).isBefore(Moment());
|
||||
var hasFile = this.model.get('hasFile');
|
||||
|
||||
if (hasFile) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue