library - end date should consider/include given date
authorunknown <priyanka.karan26@gmail.com>
Fri, 14 Nov 2014 13:09:25 +0000 (13:09 +0000)
committerunknown <priyanka.karan26@gmail.com>
Fri, 14 Nov 2014 13:09:25 +0000 (13:09 +0000)
CRM/Core/BAO/RecurringEntity.php

index ccf003e6a4878548c9293adeaec7362a4d5e87b9..0d04f43f03206d31898eba1e158c020ddcc4201d 100644 (file)
@@ -1011,6 +1011,7 @@ class CRM_Core_BAO_RecurringEntity extends CRM_Core_DAO_RecurringEntity {
       if (CRM_Utils_Array::value('absolute_date', $scheduleReminderDetails)) {\r
         $absoluteDate = CRM_Utils_Date::setDateDefaults($scheduleReminderDetails['absolute_date']);\r
         $endDate = new DateTime($absoluteDate[0].' '.$absoluteDate[1]);\r
+        $endDate->modify('+1 day');\r
         $r->until($endDate);\r
       }\r
 \r