From e9ddaa6c7dac077e2edf0d288dd2af8130796b94 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Thu, 8 Aug 2024 15:48:17 +0300 Subject: [PATCH] =?utf8?q?[ERP-90]=20=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?utf8?q?=D0=BB=D0=B5=D0=BD=D0=BE=2050-59?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/MotivationService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/services/MotivationService.php b/erp24/services/MotivationService.php index 1566477b..c7798002 100644 --- a/erp24/services/MotivationService.php +++ b/erp24/services/MotivationService.php @@ -336,7 +336,7 @@ class MotivationService foreach (range(1, 5) as $ind) { $weekStart = date("Y-m-d 00:00:00", strtotime("+" . (($ind - 1) * 7) . ' days', strtotime($monthStart))); - $weekEnd = date("Y-m-d 23:50:50", strtotime("+" . ($ind * 7 - 1) . ' days', strtotime($monthStart))); + $weekEnd = date("Y-m-d 23:59:59", strtotime("+" . ($ind * 7 - 1) . ' days', strtotime($monthStart))); if ($weekEnd > $monthEnd) { $weekEnd = $monthEnd; } -- 2.39.5