mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-09 03:42:14 +01:00
use IFileSystem interface to get creation time
This commit is contained in:
@@ -771,7 +771,7 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||
{
|
||||
Name = name,
|
||||
Id = id,
|
||||
DateCreated = fileInfo.CreationTimeUtc,
|
||||
DateCreated = _fileSystem.GetCreationTimeUtc(fileInfo),
|
||||
DateModified = fileInfo.LastWriteTimeUtc,
|
||||
Path = path
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user