mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-02 18:55:38 -04:00
Check for null before checking if EST
This commit is contained in:
@@ -142,7 +142,7 @@ namespace NzbDrone.Core.MetadataSource
|
||||
DateTime result;
|
||||
|
||||
//Todo: Remove this when DST ends and/or trakt fixes DST airings in EST/EDT
|
||||
if (iso.EndsWith("-05:00"))
|
||||
if (iso != null && iso.EndsWith("-05:00"))
|
||||
{
|
||||
iso = iso.Replace("-05:00", "-04:00");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user