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