There is a case to format custom data by IntlDateFormatter like:
$fmt = new \IntlDateFormatter(‘it_IT’, NULL, NULL);
$fmt->setPattern(‘d MMMM yyyy HH:mm’);
echo $fmt->format(new \DateTime());
Class ‘IntlDateFormatter’ not found
How to properly add IntlDateFormatter extension to setup of project?