question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Week view allday events don't show

See original GitHub issue

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

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 image component doesn’t count this event.

BUT if i don’t set end date it’s works good.

Screenshots image

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.0
  • angular-calendar: 0.28.5, 0.27. …, 0.26. …
  • Browser name and version: Chrome

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
wlrcommented, Apr 28, 2020

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 😦

0reactions
wlrcommented, Apr 28, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Disappearing All Day Events - Slipstick Systems
There is a bug in the Calendar's Day and Week view that causes all day events to disappear when the window size changes....
Read more >
Create an all-day event - Microsoft Support
By default, events and annual events don't block your calendar and show your time as busy when viewed by other people. The block...
Read more >
How to hide all day events from a calendar in Outlook?
In this article I will show you an easy guidance to hide all day events from a specified calendar in Microsoft Outlook.
Read more >
How to only display all-day events in a Microsoft Outlook ...
By default, Microsoft Outlook calendars display all events. Most of the time that's what ... Choose Day/Week/Month in the Type of View list....
Read more >
Change how you view events in Calendar on iPhone
In the Calendar app , you can view one day, a week, a month, or a year at a time, or view a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found