Fix modification checks and make sure to use UTC (#14347)

This commit is contained in:
Tim Eisele authored and GitHub committed 2025-06-26 17:50:37 -06:00
1 parent d5a76bdff8
commit c6e568692e
22 files changed
+1989 -66

No files matched your search

+1 -1
View File
@@ -108,7 +108,7 @@ public class PhotoProvider : ICustomMetadataProvider<Photo>, IForcedProvider, IH
var dateTaken = image.ImageTag.DateTime;
if (dateTaken.HasValue)
{
item.DateCreated = dateTaken.Value;
item.DateCreated = dateTaken.Value.ToUniversalTime();
item.PremiereDate = dateTaken.Value;
item.ProductionYear = dateTaken.Value.Year;
}