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.

Events show as "all day" when they end 00:00:00 the next day

See original GitHub issue

Wondering if anybody could shed any light on this.

I have events that run from 23:00 - 00:00 that only show up as “all day”. Is this expected?

Thanks!

{
title: "The Papa Biggs Show",
desc: "A family-orientated show with an interesting mix of music, mayhem & chat helped along by his family",
start: "Sun Apr 09 2017 23:00:00 GMT-0700 (PDT)",
end: "Mon Apr 10 2017 00:00:00 GMT-0700 (PDT)"
}
screen shot 2017-04-22 at 5 07 17 pm

Issue Analytics

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

github_iconTop GitHub Comments

5reactions
jedwards1211commented, May 18, 2017

@jquense besides, I thought the “all day” gutter was only intended for events explicitly marked allDay: true, and allDay: false events that span multiple days would be shown in the main time area.

4reactions
jquensecommented, Apr 26, 2017

@IanLondon this isn’t configurable, and hiding the ui isn’t going to help, you will jsut be missing events on the calendar. I suggest using the endAccessor to return a end-inclusive date in the case where the events end on midnight. e.g

// subtract one millisecond from the end date putting midnight dates at 11:59:999
endAccessor={({ end }) => new Date(end.getTime() - 1)
Read more comments on GitHub >

github_iconTop Results From Across the Web

All Day Events show end date one day later when exported
When creating all day events, the dates show correctly when I create the event (or click into it later and open to edit...
Read more >
Single day all day appointments in .ics files - Stack Overflow
The only way for it to work with both is for the end date to be one day later than the start. Plus,...
Read more >
Create or modify all-day or multiday events in Calendar on Mac
In Calendar on your Mac, schedule all-day events and multiday events. ... Events that last one or more complete days are shown in...
Read more >
Responsive event calendar documentation for Javascript
mobiscroll.eventcalendar('#eventcalendar', { data: [{ start: new Date(2020, 2, 18, 9, 0), end: new Date(2020, 2, 18, 17, 0), title: 'Repeat every 2 days...
Read more >
A Complete List of The Events Calendar Shortcodes
Or you might want to display a relative date, such as for events that are on in five days' time. [ecs-list-events day='+5 days']....
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