Bootstrap UI DateTimePicker弹出日历中显示无意义的月份日(Nonsensical month days displayed in Bootstrap UI DateTimeP

编程入门 行业动态 更新时间:2024-10-17 02:51:22
Bootstrap UI DateTimePicker弹出日历中显示无意义的月份日(Nonsensical month days displayed in Bootstrap UI DateTimePicker popup calendar)

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

I'm experiencing a problem using Bootstrap UI + Bootstrap UI DateTimePicker (https://github.com/Gillardo/bootstrap-ui-datetime-picker) where nonsensical days are included as the left-most column on the calendar popup. See the screenshot below. From top to bottom, the days that should not be there are 31, 32, 33, 34, 35, 36. They are present no matter what month I switch to.

最满意答案

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

您应该可以通过在datepickerOptions中将show-weeks设置为false来更改此行为。

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

I believe those are weeks. (31 is the 31st week of the year)

You should be able to change this behavior by setting show-weeks to false in the datepickerOptions.

See https://angular-ui.github.io/bootstrap/#/datepicker for details.

更多推荐

days,bootstrap-ui-datetime-picker,Gillardo,存在,Bootstrap,电脑培训,计算机培训,IT培训"/&g

本文发布于:2023-08-06 22:45:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1456666.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:弹出   无意义   日历   DateTimePicker   Bootstrap

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!