我正在使用p-calendar
和in several month a redundant week is shown on the calendar (image attached on this link)的内联版本
我通过以下方式使用p-calendar
:
<p-calendar [(ngModel)]="currentTime" [minDate]="minDate" [maxDate]="maxDate" placeholder="all"
[locale]="'general.time.calendar.lang-definitions' | translate" [selectOtherMonths]="true"
class="my-calendar" [showIcon]="true" [defaultDate]="serverLocalTime" [showButtonBar]="true"
[inline]="true" clearButtonStyleClass="calendar-hide-button" todayButtonStyleClass="calendar-today-button">
<p-footer>
<!-- Something -->
</p-footer>
有人知道如何让p-calendar
仅显示相关的几周吗?