diff --git a/build/viewer/view/history/view.php b/build/viewer/view/history/view.php index d9775fb..2652dd5 100755 --- a/build/viewer/view/history/view.php +++ b/build/viewer/view/history/view.php @@ -14,7 +14,6 @@ =========================================================*/ $loader = new \Twig_Loader_Filesystem(__BUILD__.'/viewer/view'); $twig = new \Twig_Environment($loader, []); - $twig->getExtension('Twig_Extension_Core')->setTimezone('Europe/Paris'); /* [2] Store variables @@ -39,6 +38,7 @@ $twig->addFilter(new \Twig_Filter('f_tsformat', function($ts){ + date_default_timezone_set('Europe/Paris'); return date('d/m/Y H:i:s', $ts); }));