We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
whereTime('time','last month') case 'last month': $range = [date('y-m-01', strtotime('-1 month')), mktime(0, 0, 0, $date['mon'], 1, $date['year'])]; break; range为上个月范围,但是返回的区间一个是字符串,一个是时间戳... 是不是左边也要mktime..
The text was updated successfully, but these errors were encountered:
这个其实是没有影响的 最终解析的时候还是会根据字段类型来处理的 首先都会转换为时间戳
Sorry, something went wrong.
但是最终在mongodb的查询语句中也是字符串,没有转换成时间戳....
No branches or pull requests
whereTime('time','last month')
case 'last month':
$range = [date('y-m-01', strtotime('-1 month')), mktime(0, 0, 0, $date['mon'], 1, $date['year'])];
break;
range为上个月范围,但是返回的区间一个是字符串,一个是时间戳...
是不是左边也要mktime..
The text was updated successfully, but these errors were encountered: