mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 18:39:09 +02:00
codetools: fixed decodetime
git-svn-id: trunk@47639 -
This commit is contained in:
parent
1ace74c1d3
commit
702fefa1c2
@ -1029,8 +1029,8 @@ begin
|
|||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
DT := FileDateToDateTimeDef(t);
|
DT := FileDateToDateTimeDef(t);
|
||||||
DecodeTime(DT,hour,min,sec,hsec);
|
DecodeTime(Frac(DT),hour,min,sec,hsec);
|
||||||
DecodeDate(DT,year,month,day);
|
DecodeDate(Trunc(DT),year,month,day);
|
||||||
Result := L0(Year)+'/'+L0(Month)+'/'+L0(Day)+' '+L0(Hour)+':'+L0(min)+':'+L0(sec);
|
Result := L0(Year)+'/'+L0(Month)+'/'+L0(Day)+' '+L0(Hour)+':'+L0(min)+':'+L0(sec);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user