private static function renderDateTimeValueInstance($event, $value)
    {
        if (!($value instanceof \DateTime)) {
            return;
        }

        $dispatcher = $event->getEnvironment()->getEventDispatcher();

        $event->setRendered(
            self::parseDateTime($dispatcher, self::getConfig()->get('datimFormat'), $value->getTimestamp())
        );
    }