【发布时间】:2016-06-07 04:28:44
【问题描述】:
有没有办法更改 AngularJS 的 ui-bootstrap 日期选择器的开始日期?目前,从左到右,日子从周一开始,到周日结束,我希望这些日子从周六开始,到周五结束。 这是plunker
<p class="input-group">
<input type="text" class="form-control" uib-datepicker-popup="{{format}}" ng-model="dt" is-open="popup1.opened" datepicker-options="dateOptions" ng-required="true" close-text="Close" alt-input-formats="altInputFormats" />
<span class="input-group-btn">
<button type="button" class="btn btn-default" ng-click="open1()"><i class="glyphicon glyphicon-calendar"></i></button>
</span>
</p>
【问题讨论】:
标签: angularjs datepicker angular-ui-bootstrap