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/>";