From: unknown Date: Fri, 14 Nov 2014 13:09:25 +0000 (+0000) Subject: library - end date should consider/include given date X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6353746f1865468281a52f6f3c8e48218991fa3a;p=civicrm-core.git library - end date should consider/include given date --- 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); }