Zf2与不同的浏览器形成日期元素问题

gol*_*ldy 0 browser forms zend-form zend-framework2

我有一个Zf2表单日期元素,我用这种方式,

$this->add(array(
            'type' => 'Zend\Form\Element\Date',
            'name' => 'releasedate',
            'options' => array(
                'label' => 'Release Date'
            ),
            'attributes' => array(
                'min' => '2012-01-01',
                'max' => '2020-01-01',
                'step' => '1', 
            )
        ));
Run Code Online (Sandbox Code Playgroud)

所以在chrome中我得到一个日期选择器但不是在safari或firefox中?我需要为此做任何新配置吗?

Ole*_*lub 5

并非所有浏览器都支持输入类型日期 http://caniuse.com/input-datetime