ソースを参照

邀请信息调整

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;