mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-03 01:01:34 +02:00
hacked in a fix for EDT shows showing the wrong start time
This commit is contained in:
@@ -141,6 +141,12 @@ 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"))
|
||||
{
|
||||
iso = iso.Replace("-05:00", "-04:00");
|
||||
}
|
||||
|
||||
if (!DateTime.TryParse(iso, out result))
|
||||
return null;
|
||||
|
||||
|
Reference in New Issue
Block a user