【发布时间】:2020-06-06 18:21:26
【问题描述】:
我正在尝试显示这样的日期格式 dd/mm/yyy - dd/mm/yyyy 但不起作用。如何更改它?以及如何获取选定的日期?
演示:https://stackblitz.com/edit/ngx-bootstrap-bsdatepicker-bug-2-f2vrht?file=app/app.component.html
<input
class="form-control"
placeholder="Two any two days"
(bsValueChange)="onValueChangeWeek($event)"
bsDaterangepicker
[bsConfig]="{ selectWeekDateRange: true, dateInputFormat: 'DD/MM/YYYY - DD/MM/YYYY' }"
[(bsValue)]="myWeekValue">
【问题讨论】:
标签: typescript angular8 bootstrap-datepicker