Skip to content

Commit 4bffd0b

Browse files
committed
Display backup timestamp in the main screen based on current culture
1 parent dfc2f17 commit 4bffd0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GHOSTbackup/GHOSTbackup.Helpers/BackupHelper.vb

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Public Class BackupHelper
5858
'If the current backup directory contains at least one valid backup
5959
If BackupDirs.Count >= 1 Then
6060
'Store the timestamp of the last directory in the list
61-
e.Result = Directory.GetCreationTime(BackupDirs.Item(BackupDirs.Count - 1)).ToString("yyyy-MM-dd HH:mm")
61+
e.Result = Directory.GetCreationTime(BackupDirs.Item(BackupDirs.Count - 1)).ToString("g", CultureInfo.CurrentUICulture)
6262
Else
6363
'No valid directory found, set Result to Nothing
6464
e.Result = Nothing

0 commit comments

Comments
 (0)