From 6353746f1865468281a52f6f3c8e48218991fa3a Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 14 Nov 2014 13:09:25 +0000 Subject: [PATCH] library - end date should consider/include given date --- CRM/Core/BAO/RecurringEntity.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Core/BAO/RecurringEntity.php b/CRM/Core/BAO/RecurringEntity.php index ccf003e6a4..0d04f43f03 100644 --- a/CRM/Core/BAO/RecurringEntity.php +++ b/CRM/Core/BAO/RecurringEntity.php @@ -1011,6 +1011,7 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity { if (CRM_Utils_Array::value('absolute_date', $scheduleReminderDetails)) { $absoluteDate = CRM_Utils_Date::setDateDefaults($scheduleReminderDetails['absolute_date']); $endDate = new DateTime($absoluteDate[0].' '.$absoluteDate[1]); + $endDate->modify('+1 day'); $r->until($endDate); } -- 2.25.1