You've already forked lazarus-ccr
tvplanit: Fix DayView/etc not showing recurring all-day events beginning/ending at midnight (as created by GanttView).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8559 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1962,11 +1962,11 @@ var
|
|||||||
begin
|
begin
|
||||||
result := false;
|
result := false;
|
||||||
|
|
||||||
DayInRepeatRange := (Day > trunc(Event.StartTime)) and
|
DayInRepeatRange := (Day >= trunc(Event.StartTime)) and
|
||||||
((Event.RepeatRangeEnd = 0) or (Day < trunc(Event.RepeatRangeEnd) + 1));
|
((Event.RepeatRangeEnd = 0) or (Day < trunc(Event.RepeatRangeEnd) + 1));
|
||||||
|
|
||||||
if (Event.RepeatCode <> rtNone) and
|
if (Event.RepeatCode <> rtNone) and
|
||||||
((Event.RepeatRangeEnd = 0) or (trunc(Event.RepeatRangeEnd + 1) > now)) then
|
((Event.RepeatRangeEnd = 0) or (trunc(Event.RepeatRangeEnd + 1) > Day)) then // wp: was "now" instead of "Day" ????
|
||||||
begin
|
begin
|
||||||
case Event.RepeatCode of
|
case Event.RepeatCode of
|
||||||
rtDaily:
|
rtDaily:
|
||||||
|
Reference in New Issue
Block a user