How to include start and end times with weekday event calendar event

I would like to use the weekday event calendar option to specify events that happen every week, but also include start and end times.

As far as I can tell, the only way to include start and end times is to use the “start” and “end” parameters but the examples include dates, which I don’t want. Times are included with the “T” character, but it doesn’t appear that I can use the “T” without a date in front because it just ignores the times if I don’t include dates.

inst.setEvents([{d: ‘w6’, text: ‘My event’, start: ‘T01:00:00’, end: ‘T04:00:00’}]);

If I do the following it will show start and end times, but only for the date specified.

inst.setEvents([{d: ‘w6’, text: ‘My event’, start: ‘2020-05-03T01:00:00’, end: ‘2020-05-03T04:00:00’}]);

So what’s the trick? How do I display a weekday event (every week) with start and end times?

Hi Vincent,

Currently, it is not possible to specify start/end times for the events which are defined as day of the week. These events(defined like {d: ‘w6’ … }) will cover the whole day.

You will have to define weekday events (which has start and end times) using only the start and end properties of the event object.