mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-12-29 09:05:28 +01:00
hacked in a fix for EDT shows showing the wrong start time
This commit is contained in:
@@ -47,7 +47,6 @@ namespace NzbDrone.Core.Test.MetadataSourceTests
|
||||
ValidateEpisodes(details.Item2);
|
||||
}
|
||||
|
||||
|
||||
[Test]
|
||||
public void getting_details_of_invalid_series()
|
||||
{
|
||||
|
||||
@@ -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