mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-10 14:46:02 +02:00
* Fixed typo(?) in r17424
git-svn-id: trunk@17426 -
This commit is contained in:
parent
2ad62c4754
commit
c906f78b4a
@ -506,7 +506,7 @@ var
|
|||||||
begin
|
begin
|
||||||
DecodeTime(Time,hour,minute,second,millisecond);
|
DecodeTime(Time,hour,minute,second,millisecond);
|
||||||
hour := hour + (trunc(Time) * 24);
|
hour := hour + (trunc(Time) * 24);
|
||||||
result := Format('%.2d:%.2d:%.2d:%.3d',[hour,minute,second,millisecond]);
|
result := Format('%.2d:%.2d:%.2d.%.3d',[hour,minute,second,millisecond]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ TSQLConnection }
|
{ TSQLConnection }
|
||||||
|
@ -336,7 +336,7 @@ begin
|
|||||||
// Format the datetime in the format hh:nn:ss.zzz, where the hours can be bigger then 23.
|
// Format the datetime in the format hh:nn:ss.zzz, where the hours can be bigger then 23.
|
||||||
DecodeTime(d,hour,minute,second,millisecond);
|
DecodeTime(d,hour,minute,second,millisecond);
|
||||||
hour := hour + (trunc(d) * 24);
|
hour := hour + (trunc(d) * 24);
|
||||||
result := Format('%.2d:%.2d:%.2d:%.3d',[hour,minute,second,millisecond]);
|
result := Format('%.2d:%.2d:%.2d.%.3d',[hour,minute,second,millisecond]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TimeStringToDateTime(d: String): TDateTime;
|
function TimeStringToDateTime(d: String): TDateTime;
|
||||||
|
Loading…
Reference in New Issue
Block a user