Bootstrap UI DateTimePicker弹出日历中显示的无意义月份日

Dan*_*ous 1 datepicker twitter-bootstrap angularjs angular-ui-bootstrap bootstrap-datetimepicker

我在使用Bootstrap UI + Bootstrap UI DateTimePicker(https://github.com/Gillardo/bootstrap-ui-datetime-picker)时遇到问题,其中包含无意义的日期作为日历弹出窗口中最左侧的列.请参见下面的截图.从上到下,不应该存在的日子分别是31,32,33,34,35,36.无论我切换到哪个月,它们都存在.

最左边的一列不存在的日子

Dan*_*ley 5

我相信那些是几个星期.(31是一年中的第31周)

您应该能够通过设置来改变这种行为show-weeks,以falsedatepickerOptions.

有关详细信息,请参阅https://angular-ui.github.io/bootstrap/#/datepicker.