From c6e568692ee14e66e6c844dc1e5481d705a096da Mon Sep 17 00:00:00 2001 From: Tim Eisele Date: Fri, 27 Jun 2025 01:50:37 +0200 Subject: Fix modification checks and make sure to use UTC (#14347) --- .../Entities/BaseItemImageInfo.cs | 2 +- .../Jellyfin.Database.Implementations/QueryPartitionHelpers.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/Jellyfin.Database/Jellyfin.Database.Implementations') diff --git a/src/Jellyfin.Database/Jellyfin.Database.Implementations/Entities/BaseItemImageInfo.cs b/src/Jellyfin.Database/Jellyfin.Database.Implementations/Entities/BaseItemImageInfo.cs index 71d60fc25d..cd14764e49 100644 --- a/src/Jellyfin.Database/Jellyfin.Database.Implementations/Entities/BaseItemImageInfo.cs +++ b/src/Jellyfin.Database/Jellyfin.Database.Implementations/Entities/BaseItemImageInfo.cs @@ -22,7 +22,7 @@ public class BaseItemImageInfo /// /// Gets or Sets the time the image was last modified. /// - public DateTime DateModified { get; set; } + public DateTime? DateModified { get; set; } /// /// Gets or Sets the imagetype. diff --git a/src/Jellyfin.Database/Jellyfin.Database.Implementations/QueryPartitionHelpers.cs b/src/Jellyfin.Database/Jellyfin.Database.Implementations/QueryPartitionHelpers.cs index bb66bddca3..c20dfeeb5a 100644 --- a/src/Jellyfin.Database/Jellyfin.Database.Implementations/QueryPartitionHelpers.cs +++ b/src/Jellyfin.Database/Jellyfin.Database.Implementations/QueryPartitionHelpers.cs @@ -82,7 +82,7 @@ public static class QueryPartitionHelpers /// The entity to load. /// The source query. /// The number of elements to load per partition. - /// The cancelation token. + /// The cancellation token. /// A enumerable representing the whole of the query. public static async IAsyncEnumerable PartitionAsync(this ProgressablePartitionReporting partitionInfo, int partitionSize, [EnumeratorCancellation] CancellationToken cancellationToken = default) { @@ -98,7 +98,7 @@ public static class QueryPartitionHelpers /// The entity to load. /// The source query. /// The number of elements to load per partition. - /// The cancelation token. + /// The cancellation token. /// A enumerable representing the whole of the query. public static async IAsyncEnumerable PartitionEagerAsync(this ProgressablePartitionReporting partitionInfo, int partitionSize, [EnumeratorCancellation] CancellationToken cancellationToken = default) { @@ -115,7 +115,7 @@ public static class QueryPartitionHelpers /// The source query. /// The number of elements to load per partition. /// Reporting helper. - /// The cancelation token. + /// The cancellation token. /// A enumerable representing the whole of the query. public static async IAsyncEnumerable PartitionAsync( this IOrderedQueryable query, @@ -154,7 +154,7 @@ public static class QueryPartitionHelpers /// The source query. /// The number of elements to load per partition. /// Reporting helper. - /// The cancelation token. + /// The cancellation token. /// A enumerable representing the whole of the query. public static async IAsyncEnumerable PartitionEagerAsync( this IOrderedQueryable query, -- cgit v1.2.3