You've already forked lazarus-ccr
CalLite: Always use DisplayTexts.DelimitedText instead of CommaText.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5337 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -104,7 +104,7 @@ begin
|
||||
18 : begin m := 23; n := 4; end;
|
||||
19,20 : begin m := 24; n := 5; end;
|
||||
21 : begin m := 24; n := 6; end;
|
||||
else raise Exception.Create('Only years above 1700 supported.');
|
||||
else raise Exception.Create('Only years after 1700 supported.');
|
||||
end;
|
||||
a := Year mod 19;
|
||||
b := Year mod 4;
|
||||
|
@ -1083,7 +1083,7 @@ begin
|
||||
FMonthNames := TStringList.Create;
|
||||
FDisplayTexts := TStringList.Create;
|
||||
FDisplayTexts.StrictDelimiter := True;
|
||||
FDisplayTexts.Delimiter := ',';
|
||||
FDisplayTexts.Delimiter := '|';
|
||||
SetDefaultDisplayTexts;
|
||||
FPopupMenu := TPopupMenu.Create(Self);
|
||||
FCalDrawer := TCalDrawer.Create(Canvas);
|
||||
@ -1137,7 +1137,7 @@ end;
|
||||
|
||||
function TCalendarLite.GetDisplayTexts: String;
|
||||
begin
|
||||
Result := FDisplayTexts.CommaText;
|
||||
Result := FDisplayTexts.DelimitedText;
|
||||
end;
|
||||
|
||||
function TCalendarLite.GetMonthName(AMonth: Integer): String;
|
||||
|
Reference in New Issue
Block a user