mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-08 22:31:27 +02:00
* use ShortTimeFormat also for LongTimeFormat if T_FMT_AMPM is not defined
for the current locale (Kylix-compatible, thanks to Luca Olivetti for the hint, fixes mantis #13947) git-svn-id: trunk@13395 -
This commit is contained in:
parent
55578e8226
commit
4e446c6184
@ -260,7 +260,10 @@ begin
|
||||
OrgFormatSettings.LongTimeFormat:=longtimeformat;
|
||||
{$endif}
|
||||
|
||||
LongTimeFormat := TransformFormatStr(LongTimeFormat);
|
||||
if (LongTimeFormat='') then
|
||||
LongTimeFormat:=ShortTimeFormat
|
||||
else
|
||||
LongTimeFormat := TransformFormatStr(LongTimeFormat);
|
||||
|
||||
{$Ifdef BSD}
|
||||
plocale:=localeconv;
|
||||
|
Loading…
Reference in New Issue
Block a user