aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/LiveTv/Listings
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-09-21 12:23:20 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-09-21 12:23:20 -0400
commit7876ee06d97efd5136b1639c168750ee29ba36e8 (patch)
tree31c160ed8578557a3155186cd36514f3d0e490e8 /MediaBrowser.Server.Implementations/LiveTv/Listings
parente90072b75faf2ed1661de5f0362e459b8cfc990b (diff)
fix merge
Diffstat (limited to 'MediaBrowser.Server.Implementations/LiveTv/Listings')
-rw-r--r--MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs11
1 files changed, 3 insertions, 8 deletions
diff --git a/MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs b/MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs
index 868889ba7d..2efa911372 100644
--- a/MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs
+++ b/MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs
@@ -362,13 +362,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings
private DateTime GetDate(string value)
{
- var date = DateTime.ParseExact(value, "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'", CultureInfo.InvariantCulture);
-
- if (date.Kind != DateTimeKind.Utc)
- {
- date = DateTime.SpecifyKind(date, DateTimeKind.Utc);
- }
- return date;
+ return DateTime.ParseExact(value, "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'",
+ CultureInfo.InvariantCulture);
}
private string GetProgramLogo(string apiUrl, ScheduleDirect.ShowImages images)
@@ -980,4 +975,4 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings
}
}
-}
+} \ No newline at end of file