mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-18 21:50:25 +01:00
Fix episode air date offset after initial scan
This commit is contained in:
@@ -181,7 +181,9 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.TV
|
||||
ParentIndexNumber = seasonNumber,
|
||||
IndexNumberEnd = info.IndexNumberEnd,
|
||||
Name = episodeResult.Name,
|
||||
PremiereDate = episodeResult.AirDate,
|
||||
PremiereDate = episodeResult.AirDate.HasValue
|
||||
? DateTime.SpecifyKind(episodeResult.AirDate.Value, DateTimeKind.Local).ToUniversalTime()
|
||||
: null,
|
||||
ProductionYear = episodeResult.AirDate?.Year,
|
||||
Overview = episodeResult.Overview,
|
||||
CommunityRating = Convert.ToSingle(episodeResult.VoteAverage)
|
||||
|
||||
Reference in New Issue
Block a user