Skip to content

Commit

Permalink
[Peek]Fix for DateModified tooltip property showing file creation date (
Browse files Browse the repository at this point in the history
  • Loading branch information
daverayment committed Sep 16, 2024
1 parent a536ec6 commit 0f16951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/peek/Peek.Common/Models/IFileSystemItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public DateTime? DateModified
{
try
{
return string.IsNullOrEmpty(Path) ? null : System.IO.File.GetCreationTime(Path);
return string.IsNullOrEmpty(Path) ? null : System.IO.File.GetLastWriteTime(Path);
}
catch
{
Expand Down

0 comments on commit 0f16951

Please sign in to comment.