extjs4.2 日期显示前一天
原创 helloworld 发表于:2018-12-18 15:43:10
  阅读 :104   收藏   编辑
var searh_form_sdate = Ext.create('Ext.form.field.Date', {
				anchor: '100%',
        labelAlign: 'right',
        fieldLabel: '起始日期',
        editable: false,
        name: 'searh_form_sdate',
        format:'Y-m-d',
        value: Ext.Date.add(new Date(), Ext.Date.DAY, -1)
	});