瀏覽代碼

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

Bond-009 3 年之前
父節點
當前提交
e30ac91f16
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tests/Jellyfin.Server.Implementations.Tests/LiveTv/RecordingHelperTests.cs

+ 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"
                 });