You've already forked lazarus-ccr
tvplanit: Fix DayView not showing holiday if date contains a time part.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8445 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1077,7 +1077,7 @@ function TVpDayView.IsHoliday(ADate: TDate; out AHolidayName: String): Boolean;
|
||||
begin
|
||||
AHolidayName := '';
|
||||
if Assigned(FOnHoliday) then
|
||||
FOnHoliday(Self, ADate, AHolidayName);
|
||||
FOnHoliday(Self, trunc(ADate), AHolidayName);
|
||||
Result := AHolidayName <> '';
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user