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');
     }