mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 19:50:15 -07:00
Switched to SQLCE 4.0
This commit is contained in:
parent
5b2111ff11
commit
69239bc371
33 changed files with 646 additions and 497 deletions
|
@ -17,7 +17,7 @@ namespace NzbDrone.Core.Repository
|
|||
public int SeasonNumber { get; set; }
|
||||
public int EpisodeNumber { get; set; }
|
||||
public string Title { get; set; }
|
||||
public DateTime AirDate { get; set; }
|
||||
public DateTime? AirDate { get; set; }
|
||||
|
||||
public string Overview { get; set; }
|
||||
|
||||
|
@ -47,7 +47,7 @@ namespace NzbDrone.Core.Repository
|
|||
|
||||
if (Ignored) return EpisodeStatusType.Ignored;
|
||||
|
||||
if (AirDate.Date.Year > 1900 && DateTime.Now.Date >= AirDate.Date)
|
||||
if (AirDate != null && AirDate.Value.Date < DateTime.Now)
|
||||
{
|
||||
return EpisodeStatusType.Missing;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue