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

Joost van der Sluis joost at cnoc.nl
Mon May 22 18:07:52 CEST 2006


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

Regards,

  Joost.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dati.diff
Type: text/x-patch
Size: 3760 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20060522/ec023eb4/attachment.bin>


More information about the fpc-devel mailing list