1
我必須格式化日期到DD-MMM-YYYY
格式。我正在使用reactjs。日期格式爲IE
,但是not in Google Chrome
。請建議。ReactJS <input type =「date」>格式日期
<input name="requested_order_ship_date" type="date"
disabled={ this.state.mode }
value={ moment(this.state.item.requested_order_ship_date).format("DD-MMM-YYYY") }
className="form-control" onChange={ this.handleInputChange } />
– Karthikeyan