From 109a74ff4e630a18b0b4735729c63b8540d16877 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Tue, 14 Dec 2021 17:20:21 +0000 Subject: [PATCH] TvPlanIt: Remove commented old code. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8179 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/tvplanit/source/vpdata.pas | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/tvplanit/source/vpdata.pas b/components/tvplanit/source/vpdata.pas index 311ac2df8..cc0bfaee2 100644 --- a/components/tvplanit/source/vpdata.pas +++ b/components/tvplanit/source/vpdata.pas @@ -1828,8 +1828,6 @@ begin if (Event.RepeatCode > rtNone) and RepeatsOn(Event, Value) then Inc(Result) // Otherwise if it is an event that naturally falls on today, then inc result -// else if ((trunc(Value) >= trunc(Event.StartTime)) -// and (trunc(Value) <= trunc(Event.EndTime))) then else if DateInRange(Value, Event.StartTime, Event.EndTime, true) then Inc(Result);