mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 16:09:26 +02:00
* while on windows the max. possible year should be 1980+127=2127, 2104 causes an error (seems to be limited to 2099), so stay with 2096
This commit is contained in:
parent
b514e979bd
commit
272417e602
@ -45,7 +45,7 @@ BEGIN
|
||||
do_error(1004);
|
||||
Close(f);
|
||||
|
||||
dateTime := EncodeDate(2104,2,29);
|
||||
dateTime := EncodeDate(2096,2,29);
|
||||
Assign(f,'datetest.dat');
|
||||
Rewrite(f);
|
||||
if FileSetDate(filerec(f).handle, DateTimeToFileDate(dateTime))<>0 then
|
||||
|
Loading…
Reference in New Issue
Block a user