zhangxiaobin 1 рік тому
батько
коміт
74e7557285
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      application/common.php

+ 2 - 2
application/common.php

@@ -732,8 +732,8 @@ if (!function_exists('week_now')) {
     function week_now()
     {
         $arr = [
-            strtotime(date('Y-m-d', strtotime("-1 week Monday", time()))),
-            strtotime(date('Y-m-d', strtotime("+0 week Sunday", time()))) - 1
+            strtotime(date('Y-m-d', strtotime("+0 week Monday", time()))),
+            strtotime(date('Y-m-d', strtotime("+0 week Sunday", time())))
         ];
 
         return $arr;