소스 검색

Change TimeZone Paris

stany.ferer 1 년 전
부모
커밋
8024afacc9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/class/git.class.php

+ 1 - 1
core/class/git.class.php

@@ -8,7 +8,7 @@ class git
 
     public static function getCommitDate(){
         $commitDate = new \DateTime(trim(exec('git log -n1 --pretty=%ci HEAD')));
-        $commitDate->setTimezone(new \DateTimeZone('UTC'));
+        $commitDate->setTimezone(new \DateTimeZone('Europe/Paris'));
         return $commitDate->format('d/m/Y à H:i:s');
     }