[fpc-devel] Definition of the time-fration in a TDateTime before 30/12/1899

Michael Van Canneyt michael at freepascal.org
Tue May 23 09:38:43 CEST 2006



On Mon, 22 May 2006, Joost van der Sluis wrote:

> The attached patch fixs some problems with negative TDateTimes.
>
> It could be that the changes in DecodeDate are for the same problem as
> Bram already send a patch for:
>
> + removed obsolete DayTable
> + fixed DateTimeToTimestamp, EncodeDate, DecodeDate, DecodeTime  for
> TDatetimes < 0
> + MSecsToTimeStamp must change day at 24:00, not at 12:00
> + removed double code in Now and DecodeDateFully

I reviewed and applied the patch, thanks !

Michael.



More information about the fpc-devel mailing list