mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 09:56:12 +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;
|
end;
|
||||||
|
|
||||||
function lrDateTimeToStr(ADate: TDateTime): string;
|
function lrDateTimeToStr(ADate: TDateTime): string;
|
||||||
|
var
|
||||||
|
DF:TFormatSettings;
|
||||||
begin
|
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;
|
end;
|
||||||
|
|
||||||
function lrStrToDateTime(AValue: string): TDateTime;
|
function lrStrToDateTime(AValue: string): TDateTime;
|
||||||
|
Loading…
Reference in New Issue
Block a user