DateTimeToStr() contains reference to LongDateTimeFormat, which is not defined
Original Reporter info from Mantis: lacak @lacak.sk
-
Reporter name: LacaK
Original Reporter info from Mantis: lacak @lacak.sk
- Reporter name: LacaK
Description:
In https://www.freepascal.org/docs-html/rtl/sysutils/datetimetostr.html there is mentioned:
"DateTimeToStr returns a string representation of DateTime using the formatting specified in LongDateTimeFormat."
LongDateTimeFormat does not exists in FormatSettings. In this case is used:
ShortDateFormat and LongTimeFormat
Additional information:
Also comment in dati.inc should be adjusted:
{ DateTimeToStr returns a string representation of DateTime using LongDateTimeFormat }
Mantis conversion info:
- Mantis ID: 35780
- Version: 3.0.4
- Fixed in version: 3.3.1
- Fixed in revision: 1631 (#13c2edf3)
- Target version: 3.2.0