Fix modification checks and make sure to use UTC (#14347)
This commit is contained in:
@@ -140,7 +140,7 @@ namespace Emby.Server.Implementations.Library
|
||||
if (fileCreationDate is not null)
|
||||
{
|
||||
var dateCreated = fileCreationDate;
|
||||
if (dateCreated.Equals(DateTime.MinValue))
|
||||
if (dateCreated == DateTime.MinValue)
|
||||
{
|
||||
dateCreated = DateTime.UtcNow;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user