[Peek]Fix for DateModified tooltip property showing file creation date (#34504)

This commit is contained in:
Dave Rayment 2024-09-16 16:26:26 +01:00 committed by GitHub
parent a536ec6e0b
commit 0f16951f23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,7 +19,7 @@ namespace Peek.Common.Models
{
try
{
return string.IsNullOrEmpty(Path) ? null : System.IO.File.GetCreationTime(Path);
return string.IsNullOrEmpty(Path) ? null : System.IO.File.GetLastWriteTime(Path);
}
catch
{