chengwl преди 4 години
родител
ревизия
5ed4a32edd
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      controllers/IndexController.php

+ 1 - 1
controllers/IndexController.php

@@ -27,7 +27,7 @@ class IndexController extends \app\controllers\HomeController
         $storeData=$ga->storeData($store,$start_day,$end_day);
         $storeSellData=$ga->storeSellData($store,$start_day,$end_day,'week');
         foreach($storeSellData as $v){
-           $timestr=$v['year']."W".$v['week'];    
+           $timestr=$v['isoYear']."W".$v['isoWeek'];    
            $time=date("Y-m-d",\strtotime($timestr));       
            echo $time."<br/>";