改进today的日期查询

This commit is contained in:
thinkphp
2017-01-12 13:53:09 +08:00
parent 28747aa5dc
commit f2a82bcf82

View File

@@ -1644,7 +1644,7 @@ class Query
switch (strtolower($op)) {
case 'today':
case 'd':
$range = 'today';
$range = ['today', 'tomorrow'];
break;
case 'week':
case 'w':