src/Forms/DateField.php
public function getDateFormat()
    {
        // Browsers expect ISO 8601 dates, localisation is handled on the client
        if ($this->getHTML5()) {
            return DBDate::ISO_DATE;
        }

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

        // Get from locale
        return $this->getFrontendFormatter()->getPattern();
    }
public function getDateFormat()
    {
        // Browsers expect ISO 8601 dates, localisation is handled on the client
        if ($this->getHTML5()) {
            return DBDate::ISO_DATE;
        }

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

        // Get from locale
        return $this->getFrontendFormatter()->getPattern();
    }
public function getDateFormat ( ) { // Browsers expect ISO 8601 dates, localisation is handled on the client if ( $ this -> getHTML5 ( ) ) { return DBDate :: ISO_DATE ; } if ( $ this -> dateFormat ) { return $ this -> dateFormat ; } // Get from locale return $ this -> getFrontendFormatter ( ) -> getPattern ( ) ; }
Get date format in CLDR standard format

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

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