Angular UI Datepicker Limiting Days per month

后端 未结 2 445
予麋鹿
予麋鹿 2021-01-18 17:53

I am using using the angular datepicker:

http://angular-ui.github.io/bootstrap/#/datepicker

Currently it is hardcoded to display 42 days or 6 w

2条回答
  •  爱一瞬间的悲伤
    2021-01-18 18:30

    Well, i represent ADMdtp module. It's pure AngularJs dateTimePicker with disabling pattern and other lots of greate options:

    • completely synced with ngModel, so no need to destroy or manulay update dateTimePicker.
    • advance range picker; make as many dateTimePicker as you want related together, and again no need to destroy or manualy update each dateTimePicker.
    • disabing pattern; so easily you can disable any day(s) in week or month, like all weekends.
    • transition on changing days. (of curse you can disable it in options)
    • get full date details like date in UNIX format, Date format and year, month, day, hour and minute separately and ... by full-data attribute.
    • ...

提交回复
热议问题