From 74d3ce5e25908e487f9812471d4a82ef4f709fdd Mon Sep 17 00:00:00 2001 From: francescbassas Date: Wed, 14 Jun 2017 15:18:25 +0200 Subject: [PATCH] Apply mlutfy review https://github.com/civicrm/civicrm-core/pull/10432#pullrequestreview-44001140 --- CRM/Member/Page/DashBoard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Member/Page/DashBoard.php b/CRM/Member/Page/DashBoard.php index ac9b8c434d..b33d68d0d3 100644 --- a/CRM/Member/Page/DashBoard.php +++ b/CRM/Member/Page/DashBoard.php @@ -430,7 +430,7 @@ class CRM_Member_Page_DashBoard extends CRM_Core_Page { $this->assign('totalCount', $totalCount); $this->assign('month', date('F', $monthStartTs)); $this->assign('year', date('Y', $monthStartTs)); - $this->assign('premonth', date('F', strtotime($preMonth))); + $this->assign('premonth', CRM_Utils_Date::customFormat($preMonth, '%B')); $this->assign('currentMonth', date('F')); $this->assign('currentYear', date('Y')); $this->assign('isCurrent', $isCurrentMonth); -- 2.25.1