Merge branch '4.7.21-rc' into master
[civicrm-core.git] / CRM / Member / Page / DashBoard.php
index ac9b8c434d43961182d502a5631ee793f63239d3..84ace2eba77cc4795a31675dc5a9cd41f9d24c8d 100644 (file)
@@ -428,9 +428,9 @@ class CRM_Member_Page_DashBoard extends CRM_Core_Page {
 
     $this->assign('membershipSummary', $membershipSummary);
     $this->assign('totalCount', $totalCount);
-    $this->assign('month', date('F', $monthStartTs));
+    $this->assign('month', CRM_Utils_Date::customFormat($monthStartTs, '%B'));
     $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);