songxingwei 2 years ago
parent
commit
08c05f8564
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/common.php

+ 1 - 1
application/common.php

@@ -138,7 +138,7 @@ function debug($str,$name='debug'){
 function monthpast(){
 function monthpast(){
     $str = array();
     $str = array();
     for ($i=0;$i<12;$i++){
     for ($i=0;$i<12;$i++){
-        $str[$i] = date('Y-m',strtotime('+'.$i.'month'));
+        $str[$i] = date('Y-m',strtotime('+'.$i.'month',date('2022-09')));
     }
     }
     return $str;
     return $str;
 }
 }