From 36f71190b55c2023d694338b9caefeba8355a5b6 Mon Sep 17 00:00:00 2001 From: Sandor Semsey Date: Fri, 5 Jun 2020 17:19:34 +0200 Subject: [PATCH] fix for end-of-yesterday --- CRM/Utils/Date.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Utils/Date.php b/CRM/Utils/Date.php index 9e4eac33ed..831fca5bc8 100644 --- a/CRM/Utils/Date.php +++ b/CRM/Utils/Date.php @@ -1822,6 +1822,7 @@ class CRM_Utils_Date { $to['d'] = $now['mday']; $to['M'] = $now['mon']; $to['Y'] = $now['year']; + $to = self::intervalAdd('day', -1, $to); unset($from); break; -- 2.25.1