src/Forms/TimeField.php
public function getTimeFormat()
    {
        if ($this->getHTML5()) {
            // Browsers expect ISO 8601 times, localisation is handled on the client
            $this->setTimeFormat(DBTime::ISO_TIME);
        }

        if ($this->timeFormat) {
            return $this->timeFormat;
        }

        // Get from locale
        return $this->getFrontendFormatter()->getPattern();
    }
public function getTimeFormat()
    {
        if ($this->getHTML5()) {
            // Browsers expect ISO 8601 times, localisation is handled on the client
            $this->setTimeFormat(DBTime::ISO_TIME);
        }

        if ($this->timeFormat) {
            return $this->timeFormat;
        }

        // Get from locale
        return $this->getFrontendFormatter()->getPattern();
    }
public function getTimeFormat ( ) { if ( $ this -> getHTML5 ( ) ) { // Browsers expect ISO 8601 times, localisation is handled on the client $ this -> setTimeFormat ( DBTime :: ISO_TIME ) ; } if ( $ this -> timeFormat ) { return $ this -> timeFormat ; } // Get from locale return $ this -> getFrontendFormatter ( ) -> getPattern ( ) ; }
Get time format in CLDR standard format

This can be set explicitly. If not, this will be generated from the current locale
with the current time length.

@see http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Field-Symbol-Table
Get time format in CLDR standard format