FPC 1.9.8 Process Variant with TDateTime
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
I am run FPC 1.9.8 and Delphi 7.1 to test some Variant behavior, I found when process with TDateTime, FPC take a different way for this against Delphi.
For Delphi 7.1, The following program output 7(varDate), which is expected, but for FPC, the output is 5 (varDouble). If a DateTime assign to a Variant, then the original VarType is lost.
Additional information:
Reporter: alphax
EMail: acmui_2004 at 163 dot com
Mantis conversion info:
- Mantis ID: 5858
- OS: Win32
- Version: 1.9.8
- Fixed in version: 1.9.9