mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 23:42:34 +02:00
* fixes Joost's commit for non unix hopefully
git-svn-id: trunk@3690 -
This commit is contained in:
parent
6fa48a858a
commit
02db8f5c84
@ -756,7 +756,7 @@ Var Date,Time : Word;
|
||||
begin
|
||||
Date:=FileDate shr 16;
|
||||
Time:=FileDate and $ffff;
|
||||
Result:=ComposeDate(EncodeDate((Date shr 9) + 1980,(Date shr 5) and 15, Date and 31),
|
||||
Result:=ComposeDateTime(EncodeDate((Date shr 9) + 1980,(Date shr 5) and 15, Date and 31),
|
||||
EncodeTime(Time shr 11, (Time shr 5) and 63, (Time and 31) shl 1,0));
|
||||
end;
|
||||
{$else unix}
|
||||
|
Loading…
Reference in New Issue
Block a user