From f530d705466d7c59a3c082fe1ec402db78fcba91 Mon Sep 17 00:00:00 2001 From: joycezhang <787027175@qq.com> Date: Mon, 24 Apr 2023 16:24:02 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20(DateHelper):=20=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E6=8C=87=E5=AE=9A=E6=9C=88=E4=BB=BD=E6=97=A5=E6=9C=9F=E6=8C=89?= =?UTF-8?q?=E5=91=A8=E5=88=86=E7=BB=84=EF=BC=8C=E6=8C=87=E5=AE=9A=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E8=8E=B7=E5=8F=96=E5=91=A8=E6=95=B0=E5=92=8C=E5=AD=A3?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Helpers/DateHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Helpers/DateHelper.php b/src/Helpers/DateHelper.php index d33f6f6..a715883 100644 --- a/src/Helpers/DateHelper.php +++ b/src/Helpers/DateHelper.php @@ -448,7 +448,7 @@ public static function getWeekStartEndAMoth($date, $format = 'Y-m-d') * @param bool $isWeekMonday true : 一个月以周一开始,为7天;false :一个月以周日开始 * @return array */ - public function getWeekAndQInAMonth($timestamp, $isWeekMonday = true) + public static function getWeekAndQInAMonth($timestamp, $isWeekMonday = true) { $dt = Carbon::parse($timestamp); $dt->timezone = "Asia/Shanghai";