We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bc9ca9 commit 5bc956dCopy full SHA for 5bc956d
1 file changed
Setup.iss
@@ -359,13 +359,9 @@ begin
359
end;
360
361
function GetInstallDate(Param: string): string;
362
-var
363
- Year, Month, Day: Word;
364
begin
365
- // Get current date
366
- DecodeDate(Date, Year, Month, Day);
367
- // Format as yyyy-mm-dd
368
- Result := Format('%.4d-%.2d-%.2d', [Year, Month, Day]);
+ // Format as yyyy-mm-dd using GetDateTimeString
+ Result := GetDateTimeString('yyyy-mm-dd', '-', '-');
369
370
371
function MergePar(Param: string): string;
0 commit comments