Templating/Helper/Format/IntlFormatter.php
protected function getIntlDatePattern($locale, $dateType, $timeType)
    {
        $hasDate = 'none' !== $dateType;
        $hasTime = 'none' !== $timeType;

        if ($hasDate && $hasTime) {
            $overrideKey = "{$locale}.datetime.{$dateType}:{$timeType}";
        } elseif ($hasDate) {
            $overrideKey = "{$locale}.date.{$dateType}";
        } elseif ($hasTime) {
            $overrideKey = "{$locale}.time.{$timeType}";
        } else {
            $overrideKey = null;
        }

        if ($overrideKey && isset($this->datePatternOverrides[$overrideKey])) {
            return $this->datePatternOverrides[$overrideKey];
        }
    }
protected function getIntlDatePattern($locale, $dateType, $timeType)
    {
        $hasDate = 'none' !== $dateType;
        $hasTime = 'none' !== $timeType;

        if ($hasDate && $hasTime) {
            $overrideKey = "{$locale}.datetime.{$dateType}:{$timeType}";
        } elseif ($hasDate) {
            $overrideKey = "{$locale}.date.{$dateType}";
        } elseif ($hasTime) {
            $overrideKey = "{$locale}.time.{$timeType}";
        } else {
            $overrideKey = null;
        }

        if ($overrideKey && isset($this->datePatternOverrides[$overrideKey])) {
            return $this->datePatternOverrides[$overrideKey];
        }
    }
@param string $locale
@param int    $dateType
@param int    $timeType

@return string|null