Skip to content

Commit

Permalink
✨ (DateHelper): 获取指定月份日期按周分组,指定日期获取周数和季度
Browse files Browse the repository at this point in the history
  • Loading branch information
Joycezhangw committed Apr 24, 2023
1 parent 9ca4e0d commit 1ff85bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers/DateHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ public static function getWeekStartEndAMoth($date, $format = 'Y-m-d')
}

/**
* 一个月以周一开始,为7天
* 指定日期获取,所在月份周、年、季度
* @param $timestamp 时间
* @param bool $isWeekMonday true : 一个月以周一开始,为7天;false :一个月以周日开始
* @return array
Expand Down

0 comments on commit 1ff85bb

Please sign in to comment.