src/Contao/View/Contao2BackendView/Subscriber/GetGroupHeaderSubscriber.php
private function formatByDayGrouping($value)
    {
        $value = $this->getTimestamp($value);
        if ('' === $value) {
            return '-';
        }
        $event = new ParseDateEvent($value, Config::get('dateFormat'));
        $this->dispatcher->dispatch(ContaoEvents::DATE_PARSE, $event);

        return $event->getResult();
    }
private function formatByDayGrouping($value)
    {
        $value = $this->getTimestamp($value);
        if ('' === $value) {
            return '-';
        }
        $event = new ParseDateEvent($value, Config::get('dateFormat'));
        $this->dispatcher->dispatch(ContaoEvents::DATE_PARSE, $event);

        return $event->getResult();
    }
private function formatByDayGrouping ( $ value ) { $ value = $ this -> getTimestamp ( $ value ) ; if ( '' === $ value ) { return '-' ; } $ event = new ParseDateEvent ( $ value , Config :: get ( 'dateFormat' ) ) ; $ this -> dispatcher -> dispatch ( ContaoEvents :: DATE_PARSE , $ event ) ; return $ event -> getResult ( ) ; }
Render a grouping header for day.

@param int $value The value.

@return string
Render a grouping header for day .