mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Check for null before checking if EST
This commit is contained in:
parent
b06f1004f8
commit
412adfed71
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ namespace NzbDrone.Core.MetadataSource
|
||||||
DateTime result;
|
DateTime result;
|
||||||
|
|
||||||
//Todo: Remove this when DST ends and/or trakt fixes DST airings in EST/EDT
|
//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");
|
iso = iso.Replace("-05:00", "-04:00");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue