有没有办法用mobiscroll显示小时和分钟?我可以显示年/月/日,但我不知道如何显示小时和分钟,这里是我的代码
$scope.endDate = {
preset: 'datetime',
theme: 'mobiscroll',
display: 'bottom',
minDate: new Date(today.getFullYear(), today.getMonth(), today.getDate()),
setText: '确定',
cancelText: '取消',
//amText: '上午',
//[enter image description here][1]pmText: '下午',
dateFormat: 'yyyy-mm-dd',
timeFormat:'HH:ii:ss',
dateOrder: 'yymmddDD',
timeOrder:'HHiiss',
lang: 'zh',
dayNames: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
headerText: '{value}',
buttons: [
'set',
'cancel'
],
onSelect: function (valueText, inst) {
$scope.examForm.examTime = valueText;
$scope.$apply();
}
};

<input ng-model="endTime" mobiscroll-date="endDate" type="text" mobiscroll-instance="endDate" name="endDate" readonly ng-value="releaseForm.endTime" class="datapicker"/>
&#13;