mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-03 01:01:34 +02:00
AirDate now stored as a string
This commit is contained in:
@@ -9,13 +9,15 @@ namespace NzbDrone.Core.Tv
|
||||
{
|
||||
public class Episode : ModelBase
|
||||
{
|
||||
public const string AIR_DATE_FORMAT = "yyyy-MM-dd";
|
||||
|
||||
public int TvDbEpisodeId { get; set; }
|
||||
public int SeriesId { get; set; }
|
||||
public int EpisodeFileId { get; set; }
|
||||
public int SeasonNumber { get; set; }
|
||||
public int EpisodeNumber { get; set; }
|
||||
public string Title { get; set; }
|
||||
public DateTime? AirDate { get; set; }
|
||||
public string AirDate { get; set; }
|
||||
public DateTime? AirDateUtc { get; set; }
|
||||
|
||||
public string Overview { get; set; }
|
||||
@@ -37,7 +39,7 @@ namespace NzbDrone.Core.Tv
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return string.Format("[0]{1}", TvDbEpisodeId, Title.NullSafe());
|
||||
return string.Format("[{0}]{1}", TvDbEpisodeId, Title.NullSafe());
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user