From 225af556d90dfbba43bdcd2b3747cd34f5b2b407 Mon Sep 17 00:00:00 2001 From: ta264 Date: Wed, 27 Mar 2019 22:05:16 +0000 Subject: [PATCH] Fixed: Don't set missing release dates to 0001-01-01 --- .../MetadataSource/SkyHook/Resource/AlbumResource.cs | 2 +- .../MetadataSource/SkyHook/Resource/ReleaseResource.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/MetadataSource/SkyHook/Resource/AlbumResource.cs b/src/NzbDrone.Core/MetadataSource/SkyHook/Resource/AlbumResource.cs index 72e1c871e..3c44b3d55 100644 --- a/src/NzbDrone.Core/MetadataSource/SkyHook/Resource/AlbumResource.cs +++ b/src/NzbDrone.Core/MetadataSource/SkyHook/Resource/AlbumResource.cs @@ -15,7 +15,7 @@ namespace NzbDrone.Core.MetadataSource.SkyHook.Resource public List Images { get; set; } public List Links { get; set; } public RatingResource Rating { get; set; } - public DateTime ReleaseDate { get; set; } + public DateTime? ReleaseDate { get; set; } public List Releases { get; set; } public List SecondaryTypes { get; set; } public string Title { get; set; } diff --git a/src/NzbDrone.Core/MetadataSource/SkyHook/Resource/ReleaseResource.cs b/src/NzbDrone.Core/MetadataSource/SkyHook/Resource/ReleaseResource.cs index 519848bab..d23eff10b 100644 --- a/src/NzbDrone.Core/MetadataSource/SkyHook/Resource/ReleaseResource.cs +++ b/src/NzbDrone.Core/MetadataSource/SkyHook/Resource/ReleaseResource.cs @@ -7,7 +7,7 @@ namespace NzbDrone.Core.MetadataSource.SkyHook.Resource { public string Disambiguation { get; set; } public List Country { get; set; } - public DateTime ReleaseDate { get; set; } + public DateTime? ReleaseDate { get; set; } public string Id { get; set; } public List Label { get; set; } public List Media { get; set; }