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:
maxim 2016-05-03 22:12:08 +00:00
parent bb593e315d
commit 8bb25ec8e7

View File

@ -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;