File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Plugins/Flow.Launcher.Plugin.Explorer/Views Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public PreviewPanel(Settings settings, string filePath)
73
73
) ;
74
74
75
75
string result = formattedDate ;
76
- if ( Settings . ShowFileAgeInPreviewPanel ) result = $ "{ GetRelativeDate ( createdDate ) } - { formattedDate } ";
76
+ if ( Settings . ShowFileAgeInPreviewPanel ) result = $ "{ GetFileAge ( createdDate ) } - { formattedDate } ";
77
77
CreatedAt = result ;
78
78
}
79
79
@@ -85,7 +85,7 @@ public PreviewPanel(Settings settings, string filePath)
85
85
CultureInfo . CurrentCulture
86
86
) ;
87
87
string result = formattedDate ;
88
- if ( Settings . ShowFileAgeInPreviewPanel ) result = $ "{ GetRelativeDate ( lastModifiedDate ) } - { formattedDate } ";
88
+ if ( Settings . ShowFileAgeInPreviewPanel ) result = $ "{ GetFileAge ( lastModifiedDate ) } - { formattedDate } ";
89
89
LastModifiedAt = result ;
90
90
}
91
91
@@ -97,7 +97,7 @@ private async Task LoadImageAsync()
97
97
PreviewImage = await Main . Context . API . LoadImageAsync ( FilePath , true ) . ConfigureAwait ( false ) ;
98
98
}
99
99
100
- private string GetRelativeDate ( DateTime fileDateTime )
100
+ private string GetFileAge ( DateTime fileDateTime )
101
101
{
102
102
DateTime now = DateTime . Now ;
103
103
TimeSpan difference = now - fileDateTime ;
You can’t perform that action at this time.
0 commit comments