You've already forked lazarus-ccr
Convert system month names to utf8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2846 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -905,7 +905,8 @@ begin
|
|||||||
FMonthNames := AValue;
|
FMonthNames := AValue;
|
||||||
|
|
||||||
if UpperCase(AValue) = 'SHORT' then
|
if UpperCase(AValue) = 'SHORT' then
|
||||||
FMonthNamesArray := DefaultFormatSettings.ShortMonthNames
|
for I := Low(TMonthNameArray) to High(TMonthNameArray) do
|
||||||
|
FMonthNamesArray[I] := AnsiToUtf8(DefaultFormatSettings.ShortMonthNames[I])
|
||||||
else begin
|
else begin
|
||||||
N := 0;
|
N := 0;
|
||||||
if Length(AValue) >= 24 then begin
|
if Length(AValue) >= 24 then begin
|
||||||
@ -935,7 +936,8 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
if N < 12 then
|
if N < 12 then
|
||||||
FMonthNamesArray := DefaultFormatSettings.LongMonthNames;
|
for I := Low(TMonthNameArray) to High(TMonthNameArray) do
|
||||||
|
FMonthNamesArray[I] := AnsiToUtf8(DefaultFormatSettings.LongMonthNames[I]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if FShowMonthNames and
|
if FShowMonthNames and
|
||||||
|
Reference in New Issue
Block a user