Zend Framework - JQuery - Date Picker - Format Date to YYYY-mm-dd

前端 未结 4 1621
被撕碎了的回忆
被撕碎了的回忆 2021-01-23 15:56

Im using a JQuery DatePicker in a Zend Framework based application Form. Here is the code for the date picker

$this->addElement(\'datePicker\',\'movie_release         


        
4条回答
  •  情歌与酒
    2021-01-23 16:38

    First use Zend_Locale to set up date format, then with ZendX_JQuery:

    $picker = new ZendX_JQuery_View_Helper_DatePicker();
    $picker->resolveZendLocaleToDatePickerFormat();
    

提交回复
热议问题