Skip to content

Commit f530d70

Browse files
committed
✨ (DateHelper): 获取指定月份日期按周分组,指定日期获取周数和季度
1 parent 1ff85bb commit f530d70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Helpers/DateHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ public static function getWeekStartEndAMoth($date, $format = 'Y-m-d')
448448
* @param bool $isWeekMonday true : 一个月以周一开始,为7天;false :一个月以周日开始
449449
* @return array
450450
*/
451-
public function getWeekAndQInAMonth($timestamp, $isWeekMonday = true)
451+
public static function getWeekAndQInAMonth($timestamp, $isWeekMonday = true)
452452
{
453453
$dt = Carbon::parse($timestamp);
454454
$dt->timezone = "Asia/Shanghai";

0 commit comments

Comments
 (0)