mirror of
https://github.com/Radarr/Radarr
synced 2024-12-27 02:09:59 +00:00
hacked in a fix for EDT shows showing the wrong start time
This commit is contained in:
parent
00bf533696
commit
b06f1004f8
2 changed files with 6 additions and 1 deletions
|
@ -47,7 +47,6 @@ public void should_be_able_to_get_series_detail(int tvdbId)
|
|||
ValidateEpisodes(details.Item2);
|
||||
}
|
||||
|
||||
|
||||
[Test]
|
||||
public void getting_details_of_invalid_series()
|
||||
{
|
||||
|
|
|
@ -141,6 +141,12 @@ private static SeriesStatusType GetSeriesStatus(string status)
|
|||
{
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue