Describe the bug
Hello!
all day events don't show in week view. But in month they are visible.


Minimal reproduction of the problem with instructions
this.events = [
new CalendarEventModel({
startDate: moment("10/03/2020", "DD/MM/YYYY"),
startTime: "01:00",
endDate: moment("17/03/2020", "DD/MM/YYYY"),
endTime: "01:00",
allDay: true
}),
];
As I see it

component doesn't count this event.
BUT if i don't set end date it's works good.
Screenshots

Do you have any solution to fix this?
(We are using class witch implements CalendarEvent, mabe problem in it?)
Also i try to change versions and this didn't help.
Versions
@angular/core: 1.0.0angular-calendar: 0.28.5, 0.27. ..., 0.26. ...Thanks so much for opening an issue! If you'd like me to give priority to answering your issue or would just like to support this project, then please consider sponsoring me
I tried to use CalendarEvent:
this.events = [
{
start: moment("10/03/2020", "DD/MM/YYYY").toDate(),
end: moment("17/03/2020", "DD/MM/YYYY").toDate(),
title: 'test',
allDay: true,
color: {
primary: '#1e90ff',
secondary: '#D1E8FF'
}
}
];
And it`s didn't solve the problem.
Hey there, I wasn't able to reproduce your problem: https://stackblitz.com/edit/angular-uncqii?file=demo/component.ts Please could you make a minimal repro on stackblitz or something that shows your issue, as without that it's pretty much impossible to tell what's going wrong. Thank you! 馃槃
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
I also have this issue with version: 0.28.11, check this bug, i modified the lib and it worked, but you should provide the fix:
https://github.com/mattlewis92/angular-calendar/issues/1149
ok guys, i found the problem, check the date-fns lib, it should be > 2.0, i was using the 1.x version somehow! very thx to mattlewis92, i checked the package.js :) stupid bug :(
Most helpful comment
ok guys, i found the problem, check the date-fns lib, it should be > 2.0, i was using the 1.x version somehow! very thx to mattlewis92, i checked the package.js :) stupid bug :(