Date format in include directive
Original Reporter info from Mantis: zoran
-
Reporter name: Zoran Vučenović
Original Reporter info from Mantis: zoran
- Reporter name: Zoran Vučenović
Description:
The documentation page http://www.freepascal.org/docs-html/current/prog/progsu41.html do not say what is date format of string got with {$i Date}.
Admittedly,the example in the bottom of the page shows:
This program was compiled at 17:40:18 on 1998/09/09
However, the reader does not know if it is always so, or it is dependant on something (current OS locale).
According to some tests I took, it is always yyyy/mm/dd (which is good, of course, so we can rely on it), but please write it explicitly, I suggest:
DATE
Inserts the current date, always in format yyyy/mm/dd.
Mantis conversion info:
- Mantis ID: 31363
- Version: 3.0.1
- Fixed in version: 3.1.1
- Fixed in revision: 1391 (#0ed2dab1)
- Target version: 3.2.0