Browse Source

Merge pull request #6900 from ianjazz246/local-time-test

Bond-009 3 years ago
parent
commit
e30ac91f16

+ 2 - 2
tests/Jellyfin.Server.Implementations.Tests/LiveTv/RecordingHelperTests.cs

@@ -61,7 +61,7 @@ namespace Jellyfin.Server.Implementations.Tests.LiveTv
                 {
                     Name = "The Big Bang Theory",
                     IsProgramSeries = true,
-                    OriginalAirDate = new DateTime(2018, 12, 6)
+                    OriginalAirDate = new DateTime(2018, 12, 6, 0, 0, 0, DateTimeKind.Local)
                 });
 
             data.Add(
@@ -70,7 +70,7 @@ namespace Jellyfin.Server.Implementations.Tests.LiveTv
                 {
                     Name = "The Big Bang Theory",
                     IsProgramSeries = true,
-                    OriginalAirDate = new DateTime(2018, 12, 6),
+                    OriginalAirDate = new DateTime(2018, 12, 6, 0, 0, 0, DateTimeKind.Local),
                     EpisodeTitle = "The VCR Illumination"
                 });