mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-06 10:16:18 +00:00
use utc for premieredate
This commit is contained in:
@@ -135,7 +135,7 @@ namespace MediaBrowser.Controller.Extensions
|
||||
var text = rvalNode.InnerText;
|
||||
DateTime date;
|
||||
if (DateTime.TryParse(text, out date))
|
||||
return date;
|
||||
return date.ToUniversalTime();
|
||||
}
|
||||
return defaultDate;
|
||||
}
|
||||
|
||||
@@ -376,7 +376,7 @@ namespace MediaBrowser.Controller.Providers.TV
|
||||
series.AirDays = TVUtils.GetAirDays(doc.SafeGetString("//Airs_DayOfWeek"));
|
||||
series.AirTime = doc.SafeGetString("//Airs_Time");
|
||||
SeriesStatus seriesStatus;
|
||||
if(Enum.TryParse(doc.SafeGetString("//Status"), out seriesStatus))
|
||||
if(Enum.TryParse(doc.SafeGetString("//Status"), true, out seriesStatus))
|
||||
series.Status = seriesStatus;
|
||||
series.PremiereDate = doc.SafeGetDateTime("//FirstAired");
|
||||
if (series.PremiereDate.HasValue)
|
||||
|
||||
@@ -114,6 +114,9 @@
|
||||
<Content Include="dashboard-ui\css\images\items\searchhints\tv.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\css\images\media\audioflyout.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\css\images\media\audiotrack.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
@@ -132,6 +135,9 @@
|
||||
<Content Include="dashboard-ui\css\images\media\settings.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\css\images\media\subtitleflyout.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\css\images\media\subtitles.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
||||
Reference in New Issue
Block a user