Ver código fonte

Change TimeZone Paris

stany.ferer 1 ano atrás
pai
commit
8024afacc9
1 arquivos alterados com 1 adições e 1 exclusões
  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');
     }