Browse Source

Change TimeZone Paris

stany.ferer 1 năm trước cách đây
mục cha
commit
8024afacc9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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');
     }