mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 18:49:14 +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;
|
OrgFormatSettings.LongTimeFormat:=longtimeformat;
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
LongTimeFormat := TransformFormatStr(LongTimeFormat);
|
if (LongTimeFormat='') then
|
||||||
|
LongTimeFormat:=ShortTimeFormat
|
||||||
|
else
|
||||||
|
LongTimeFormat := TransformFormatStr(LongTimeFormat);
|
||||||
|
|
||||||
{$Ifdef BSD}
|
{$Ifdef BSD}
|
||||||
plocale:=localeconv;
|
plocale:=localeconv;
|
||||||
|
Loading…
Reference in New Issue
Block a user