src/View/Helper/Date.php
public function addFormats(array $formats)
    {
        foreach ($formats as $name => $format) {
            $this->formats[$name] = $format;
        }
    }
public function addFormats(array $formats)
    {
        foreach ($formats as $name => $format) {
            $this->formats[$name] = $format;
        }
    }
public function addFormats ( array $ formats ) { foreach ( $ formats as $ name => $ format ) { $ this -> formats [ $ name ] = $ format ; } }
Add datetime formats
@param array $formats
Add datetime formats