From f98367d07daad622ee82843d5914340e7eb5eb1e Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Mon, 24 Jul 2017 19:10:33 +0200 Subject: [PATCH] [bis] Fixed timedate to 'Europe/Paris' --- build/viewer/view/history/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }));