Result of function DayOfWeek is incorrect
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
The result of DayOfWeek in the sysutils unit is 1 for saturday, 2 for sunday and so on, instead of 1 for sunday, 2 for monday ..., as written in the documentation. Using the result as an index into ShortDayNames/LongDayNames results in the wrong day name.
Additional information:
Reporter: Thomas Hamann
EMail: thamann dot ke at t-online dot de
Mantis conversion info:
- Mantis ID: 2708
- OS: WIN32
- Version: ?
- Fixed in version: 0.99.13