search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Hourly range covering two consecutive days

Asked by Gaona Jandri
7 months ago.

i am using vue v2 component and doing some tests.
Would it be possible to show an hourly range covering two consecutive days? maybe from 8 am to 2 am the next day

Comment posted by Dan Letecky [DayPilot]
7 months ago.

Yes, please take a look at this:
https://doc.daypilot.org/calendar/overnight-scheduling/

Let me know if this is not what you are looking for.

Comment posted by Gaona Jandri
7 months ago.

I would like to use the scheduler component because it seems more suitable for what I have to do.
I would like to have the members of my staff on the x axis and on the y axis so that I can organize work shifts.
this work will be done only once but it must allow in the future to be able to reorganize the shifts

Answer posted by Dan Letecky [DayPilot]
7 months ago.

OK, thanks for the update. In the Scheduler, there are two ways to achieve that:

1. You can define the timeline manually by adding individual cells:
https://doc.daypilot.org/scheduler/timeline/

2. You can use an hourly scale and remove the selected timeline cells (hours) using onIncludeTimeCell event handler:
https://doc.daypilot.org/scheduler/hiding-time-columns/

This will let you display custom hours, e.g. from 20:00 to 4:00 the next day.

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.