在Alloyui日期选择器中显示星期数

时间:2018-10-29 09:19:26

标签: javascript date yui week-number alloy-ui

Datepicker缺少星期数。我想显示每周的星期数,可以吗?这是代码:

YUI({ lang: 'nb-no' }).use(
  'aui-datepicker',
  function(Y) {
    new Y.DatePicker(
      {
        trigger: '.datepicker-btn',
        popover: {
          zIndex: 99999
        },
        weekDays: true,
        firstDayOfWeek: 1
      }
    );
  }
);

enter image description here

0 个答案:

没有答案