src/DateExtension.php
public function localTime($date, $format = 'short', $calendar = 'gregorian')
    {
        return $this->formatLocal($date, false, $format, $calendar);
    }
public function localTime($date, $format = 'short', $calendar = 'gregorian')
    {
        return $this->formatLocal($date, false, $format, $calendar);
    }
public function localTime ( $ date , $ format = 'short' , $ calendar = 'gregorian' ) { return $ this -> formatLocal ( $ date , false , $ format , $ calendar ) ; }
Format the time value as a string based on the current locale

@param DateTime|int|string $date
@param string              $format    'short', 'medium', 'long', 'full' or pattern
@param string              $calendar  'gregorian' or 'traditional'
@return string
Format the time value as a string based on the current locale