我有一个普通的超文本标记语言date input,在它旁边有一个font-awesome图标。此图标具有启动bsDatePicker的功能,但是,所选日期不会存储在任何位置。我想知道如何才能将选定的日期转换为日期输入? 这是HTML代码: //this is the common html input
<input type="date" class="form-control">
//and this is the fa icon that launches the calendar
<em #dp="bsDatepicker
我使用属性作为输入type ="datetime“。但此属性查看输出MM/DD/YYYY。那么如何将日期的输出格式更改为DD/MM/YYYY? pick the date format mm/dd/yyyy <div class="form-group">
<label>{{"StartDate" | localize}}*</label>
<input