diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-09-21 12:23:20 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-09-21 12:23:20 -0400 |
| commit | 7876ee06d97efd5136b1639c168750ee29ba36e8 (patch) | |
| tree | 31c160ed8578557a3155186cd36514f3d0e490e8 /MediaBrowser.Server.Implementations/LiveTv/Listings | |
| parent | e90072b75faf2ed1661de5f0362e459b8cfc990b (diff) | |
fix merge
Diffstat (limited to 'MediaBrowser.Server.Implementations/LiveTv/Listings')
| -rw-r--r-- | MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs | 11 |
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 |
