Bootstrap datetimepicker 中的周视图

问题描述

bootstrap datetimepicker 中是否有任何选项可以像下图那样按周显示

enter image description here

解决方法

是的,它确实有 .. 我在下面提到了 url,请看他们分享了一个例子

$('.datepicker').datepicker({
        calendarweeks: true,//your other config options if you have 
    });

https://bootstrap-datepicker.readthedocs.io/en/latest/options.html#calendarweeks