use IFileSystem interface to get creation time

This commit is contained in:
Luke Pulverenti
2013-10-30 19:15:58 -04:00
parent d5baaa1f67
commit 579b507f7f
9 changed files with 52 additions and 31 deletions

View File

@@ -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
};