...
|
...
|
@@ -165,7 +165,7 @@ class Member extends Api |
|
|
$betweenTime = ['1970-1-1', date('Y-m-d')];
|
|
|
if ($date) {
|
|
|
$dateArr = explode('-', $date);
|
|
|
$lastDay = cal_days_in_month(CAL_GREGORIAN, $dateArr[1], $dateArr[0]);
|
|
|
$lastDay = days_in_month($dateArr[1], $dateArr[0]);
|
|
|
$lastDate = $dateArr[0] . '-' . $dateArr[1] . '-' . $lastDay;
|
|
|
$betweenTime = [$date, $lastDate];
|
|
|
}
|
...
|
...
|
@@ -212,7 +212,7 @@ class Member extends Api |
|
|
$betweenTime = ['1970-1-1', date('Y-m-d')];
|
|
|
if ($date) {
|
|
|
$dateArr = explode('-', $date);
|
|
|
$lastDay = days_in_month( $dateArr[1], $dateArr[0]);
|
|
|
$lastDay = days_in_month($dateArr[1], $dateArr[0]);
|
|
|
$lastDate = $dateArr[0] . '-' . $dateArr[1] . '-' . $lastDay;
|
|
|
$betweenTime = [$date, $lastDate];
|
|
|
}
|
...
|
...
|
|