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

pull/3113/head
Mark McDowall 11 years ago
parent 00bf533696
commit b06f1004f8

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

@ -141,6 +141,12 @@ namespace NzbDrone.Core.MetadataSource
{ {
DateTime result; 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)) if (!DateTime.TryParse(iso, out result))
return null; return null;

Loading…
Cancel
Save