Skip to content

Commit

Permalink
feate(demo): datepicker bsConfig range format added (#5423)
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitriy Danilov <daniloff200@gmail.com>
Co-authored-by: Dmitriy Shekhovtsov <valorkin@gmail.com>
  • Loading branch information
3 people committed Jan 13, 2020
1 parent 716b586 commit 93911f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
formControlName="dateRange"
#daterangepicker="bsDaterangepicker"
bsDaterangepicker
[bsConfig]="{ rangeInputFormat: 'MMMM Do YYYY, h:mm:ss a' }">
[bsConfig]="{ rangeInputFormat : 'MMMM Do YYYY, h:mm:ss a', dateInputFormat: 'MMMM Do YYYY, h:mm:ss a', showWeekNumbers: false }">
</div>
<div class="col-xs-12 col-12 col-md-3 form-group">
<button class="btn btn-success" (click)="daterangepicker.toggle()" [attr.aria-expanded]="daterangepicker.isOpen" type="button">Date Range Picker</button>
Expand Down

0 comments on commit 93911f0

Please sign in to comment.