mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
Use airDateUtc not airDate
This commit is contained in:
parent
42496b81e3
commit
ea195afc87
@ -17,7 +17,7 @@ define(
|
||||
var icon;
|
||||
var tooltip;
|
||||
|
||||
var hasAired = Moment(this.model.get('airDate')).isBefore(Moment());
|
||||
var hasAired = Moment(this.model.get('airDateUtc')).isBefore(Moment());
|
||||
var hasFile = this.model.get('hasFile');
|
||||
|
||||
if (hasFile) {
|
||||
@ -34,7 +34,7 @@ define(
|
||||
return this;
|
||||
}
|
||||
else {
|
||||
if (!this.model.get('airDate')) {
|
||||
if (!this.model.get('airDateUtc')) {
|
||||
icon = 'icon-question-sign';
|
||||
tooltip = 'TBA';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user