From 47735c3d73cc677e519cd33b58232c97729596fa Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Mon, 9 Jun 2008 23:52:56 +0200 Subject: Date/time string formatting revision Added ability to set custom date/time format --- UMain.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'UMain.pas') diff --git a/UMain.pas b/UMain.pas index be60b0e..78dbcc3 100644 --- a/UMain.pas +++ b/UMain.pas @@ -6014,7 +6014,7 @@ begin FRunFromVFS.SizeLabel2.Caption := Format('%s%s ', [FormatSize(Stat^.Size, 0), s]); if (ConfSizeFormat < 5) or (Stat^.Size < 1024) then s := Format(' %s', [LANGHandleRunFromArchive_Bytes]); FRunFromVFS.PackedSizeLabel2.Caption := Format('%s%s ', [FormatSize(Stat^.Size, 0), s]); - FRunFromVFS.DateLabel2.Caption := Format('%s ', [FormatDateTime('ddddd tt', Stat^.ModifyTime)]); + FRunFromVFS.DateLabel2.Caption := Format('%s ', [FormatDate(Stat^.ModifyTime, True, True)]); if (Command = '') and (not Stat^.IsExecutable) then begin FRunFromVFS.OpensWithLabel2.Caption := Format('%s ', [LANGHandleRunFromArchive_NotAssociated]); FRunFromVFS.ExecuteButton.Enabled := False; -- cgit v1.2.3