Seems longtimeformat and AM/PM strings are corrupt on OpenBSD
Original Reporter info from Mantis: cr
-
Reporter name: Christian Ruesch
Original Reporter info from Mantis: cr
- Reporter name: Christian Ruesch
Description:
See also my topic on the forums:
http://forum.lazarus.freepascal.org/index.php/topic,30938.0.html
Following strings produce a wrong value:
TimeAMString = "PM"
TimePMString = "Sunday"
ShortTimeFormat = "hh:nn:ss ampm"
LongTimeFormat = "AM"
It seems there is a bug in clocale.
Steps to reproduce:
uses Clocale, Sysutils;
begin
WriteLn('TimeAMString = "', FormatSettings.TimeAMString, '"');
WriteLn('TimePMString = "', FormatSettings.TimePMString, '"');
WriteLn('ShortTimeFormat = "', FormatSettings.ShortTimeFormat, '"');
WriteLn('LongTimeFormat = "', FormatSettings.LongTimeFormat, '"');
end.
Mantis conversion info:
- Mantis ID: 29317
- OS: OpenBSD
- OS Build: 5.9-beta
- Platform: x86_64
- Version: 3.0.0
- Monitored by: » @flyingsheep (Bart Broersma)