diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-09-21 01:21:45 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-09-21 01:21:45 +0200 |
| commit | 653df7d8e5b3474010b3797d7f15d51225932ca7 (patch) | |
| tree | b160a2bcf66ff12bf56f01a215f7f176a4443784 /Jellyfin.Api/Controllers/TvShowsController.cs | |
| parent | 9bb222b4085e3f9e9ec946e8e134bbe77df26e86 (diff) | |
Specify DateTimeStyles when possible
Diffstat (limited to 'Jellyfin.Api/Controllers/TvShowsController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/TvShowsController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/TvShowsController.cs b/Jellyfin.Api/Controllers/TvShowsController.cs index 7c5b8a43b..6eada67cf 100644 --- a/Jellyfin.Api/Controllers/TvShowsController.cs +++ b/Jellyfin.Api/Controllers/TvShowsController.cs @@ -147,7 +147,7 @@ namespace Jellyfin.Api.Controllers ? _userManager.GetUserById(userId.Value) : null; - var minPremiereDate = DateTime.Now.Date.ToUniversalTime().AddDays(-1); + var minPremiereDate = DateTime.UtcNow.Date.AddDays(-1); var parentIdGuid = parentId ?? Guid.Empty; |
