mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
AirDate now stored as a string
This commit is contained in:
parent
ea278c39b6
commit
5bfcc511e8
20 changed files with 108 additions and 123 deletions
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Threading.Tasks;
|
||||
using NLog;
|
||||
using NzbDrone.Core.DataAugmentation.Scene;
|
||||
|
@ -53,7 +54,7 @@ namespace NzbDrone.Core.IndexerSearch
|
|||
|
||||
if (series.SeriesType == SeriesTypes.Daily)
|
||||
{
|
||||
return SearchDaily(episode.SeriesId, episode.AirDate.Value.Date);
|
||||
return SearchDaily(episode.SeriesId, DateTime.ParseExact(episode.AirDate, Episode.AIR_DATE_FORMAT, CultureInfo.InvariantCulture));
|
||||
}
|
||||
|
||||
return SearchSingle(series, episode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue