mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-07 08:47:49 +02:00
rtl: TFormatSettings class constructor
This commit is contained in:
parent
218736588c
commit
1559d1f4b6
@ -463,6 +463,7 @@ type
|
||||
procedure SetTimePMString(const Value: string);
|
||||
procedure SetTimeSeparator(const Value: char);
|
||||
public
|
||||
class constructor Init;
|
||||
Property ShortMonthNames : TMonthNames Read GetShortMonthNames Write SetShortMonthNames;
|
||||
Property LongMonthNames : TMonthNames Read GetLongMonthNames Write SetLongMonthNames;
|
||||
Property ShortDayNames : TDayNames Read GetShortDayNames Write SetShortDayNames;
|
||||
@ -4146,6 +4147,11 @@ begin
|
||||
SysUtils.TimeSeparator := Value;
|
||||
end;
|
||||
|
||||
class constructor TFormatSettings.Init;
|
||||
begin
|
||||
FormatSettings := TFormatSettings.Create;
|
||||
end;
|
||||
|
||||
{ ---------------------------------------------------------------------
|
||||
FileNames
|
||||
---------------------------------------------------------------------}
|
||||
@ -4404,9 +4410,5 @@ begin
|
||||
Result := '';
|
||||
end;
|
||||
|
||||
|
||||
initialization
|
||||
FormatSettings := TFormatSettings.Create;
|
||||
|
||||
end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user