From f2a82bcf82dfaaec76eff25db1525c41a48650dd Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 12 Jan 2017 13:53:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9Btoday=E7=9A=84=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/db/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/db/Query.php b/library/think/db/Query.php index 1ef97571..3ba42b2f 100644 --- a/library/think/db/Query.php +++ b/library/think/db/Query.php @@ -1644,7 +1644,7 @@ class Query switch (strtolower($op)) { case 'today': case 'd': - $range = 'today'; + $range = ['today', 'tomorrow']; break; case 'week': case 'w':