diff --git a/src/config/container.php b/src/config/container.php index aadba40..ae2d689 100644 --- a/src/config/container.php +++ b/src/config/container.php @@ -42,7 +42,7 @@ return [ $twig->getEnvironment()->addFilter(new \Twig\TwigFilter('formatDate', function (\Twig\Environment $env, $inp) use ($container) { $locale = $env->getGlobals()['locale']; - $formatter = new IntlDateFormatter($locale); + $formatter = new \IntlDateFormatter($locale); if ($inp instanceof \DateTime) { $d = $inp; } else {