mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 03:37:59 +01:00
[Peek]Fix for DateModified tooltip property showing file creation date (#34504)
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Peek.Common.Models
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return string.IsNullOrEmpty(Path) ? null : System.IO.File.GetCreationTime(Path);
|
return string.IsNullOrEmpty(Path) ? null : System.IO.File.GetLastWriteTime(Path);
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user