showmessage(TimeToStr(StrToTime('12:35:00 PM'))); --> Error
Original Reporter info from Mantis: JohnML @JohnML1
-
Reporter name: John Landmesser
Original Reporter info from Mantis: JohnML @JohnML1
- Reporter name: John Landmesser
Description:
followimg code produces an error '24:35:00 is not a valid time ...'
but in Delphi 5 the result is 12:35.
I think Delphi is correct and the Free Pascal function StrToTime() is wrong !?
Mantis conversion info:
- Mantis ID: 8187
- Fixed in revision: 6990 (#79b572cc)