mirror of
https://github.com/microsoft/PowerToys
synced 2024-11-22 08:11:25 +00:00
[Peek]Fix for DateModified tooltip property showing file creation date (#34504)
This commit is contained in:
parent
a536ec6e0b
commit
0f16951f23
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user