mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Added AirDateUtc for UTC offset time
This commit is contained in:
@@ -8,7 +8,7 @@ define(
|
||||
Handlebars.registerHelper('EpisodeNumber', function () {
|
||||
|
||||
if (this.series.seriesType === 'daily') {
|
||||
return Moment(this.airDate).format('L');
|
||||
return Moment(this.airDateUtc).format('L');
|
||||
}
|
||||
|
||||
else {
|
||||
@@ -21,7 +21,7 @@ define(
|
||||
|
||||
var hasFile = this.hasFile;
|
||||
var currentTime = Moment();
|
||||
var start = Moment(this.airDate);
|
||||
var start = Moment(this.airDateUtc);
|
||||
var end = Moment(this.end);
|
||||
|
||||
if (currentTime.isAfter(start) && currentTime.isBefore(end)) {
|
||||
|
Reference in New Issue
Block a user