[excludeDays] doesn't work correctly in the week view component
See original GitHub issueDescribe the bug
When using some combinations of days to be excluded, some days that shouldn’t be excluded are excluded anyway, for example, setting [excludeDays]=“[4, 6]”, friday (day 5) is also excluded in the week view (even though it works fine in the month view).
Seems like the combinations of days “0, 2” and “4, 6” are the problematic ones for me, but I’m not sure if there’s others combinations with issues as well.
Including a screenshot using [excludeDays]=“[4, 6]”, in both month and week views (friday is missing in the week view). The screenshot was taken in a new project:
Minimal reproduction of the problem with instructions
Screenshots
Versions
@angular/core
: 7.2.0angular-calendar
: 0.27.7- Browser name and version: Firefox 66.0.4, Google Chrome 74.0.3729.131, Microsoft Edge 44.17763.1.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
mwl-calendar-week-view - angular-calendar documentation
newStart, true) " (dragEnter)="dateDragEnter($event.date)" > </mwl-calendar-week-view-header> <div class="cal-all-day-events" #allDayEventsContainer ...
Read more >Calendar don't show events in first load, only after trigger ...
Only when I trigger any event like click in button to change the view from month to week for example. I'm using Angular...
Read more >Calendar Views in Lightning Experience
View, create, and edit your events in a day, week, or month view. You can also see any calendars shared by colleagues that...
Read more >WORKDAY function
Use WORKDAY to exclude weekends or holidays when you calculate invoice due dates, ... Working days exclude weekends and any dates identified as...
Read more >Employer Mandate under the Affordable Care Act (ACA)
Employees who work 30 or more hours per week are considered full-time. ... Employer offers coverage, but coverage is not affordable and/or doesn't...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@evilstiefel it’s probably related to this bug, I’ll make sure to include a test case for that when I get round to fixing it. As a workaround you can set
[daysInWeek]="1"
to get the same effect.Finally managed to fix this one, please give
0.27.17
a go 😄