mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 20:59:36 +02:00
Merged revision(s) 52254 #fbb22d7bea from trunk:
LazReport, Normalize ReportCreateDate and ReportLastChange on saving, patch from Simone Giacomelli, issue #27008 ........ git-svn-id: branches/fixes_1_6@52279 -
This commit is contained in:
parent
bb593e315d
commit
8bb25ec8e7
@ -854,8 +854,12 @@ begin
|
||||
end;
|
||||
|
||||
function lrDateTimeToStr(ADate: TDateTime): string;
|
||||
var
|
||||
DF:TFormatSettings;
|
||||
begin
|
||||
Result:=FormatDateTime( 'YYYY-MM-DD HH:NN:SS', ADate);
|
||||
DF.DateSeparator:='-';
|
||||
DF.TimeSeparator:=':';
|
||||
Result:=FormatDateTime( 'YYYY-MM-DD HH:NN:SS', ADate, DF);
|
||||
end;
|
||||
|
||||
function lrStrToDateTime(AValue: string): TDateTime;
|
||||
|
Loading…
Reference in New Issue
Block a user