hacked in a fix for EDT shows showing the wrong start time

This commit is contained in:
Mark McDowall 2013-09-08 10:49:12 -07:00
parent 00bf533696
commit b06f1004f8
2 changed files with 6 additions and 1 deletions

View File

@ -47,7 +47,6 @@ namespace NzbDrone.Core.Test.MetadataSourceTests
ValidateEpisodes(details.Item2);
}
[Test]
public void getting_details_of_invalid_series()
{

View File

@ -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;