The showCurrentTimeOffset property (number) sets the offset, in minutes, applied to the current time indicator in the JavaScript Calendar component.
DayPilot.Calendar.showCurrentTimeOffset0This setting is used together with DayPilot.Calendar.showCurrentTime.
A value of 60 shifts the indicator by one hour.
JavaScript
const calendar = new DayPilot.Calendar("dp", {
showCurrentTimeOffset: 60,
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
showCurrentTimeOffset: 60,
// ...
};React
<DayPilotCalendar
showCurrentTimeOffset={60}
{/* ... */}
/>Vue
<DayPilotCalendar
:showCurrentTimeOffset="60"
<!-- ... -->
/>DayPilot.Calendar.showCurrentTime
DayPilot.Calendar.showCurrentTimeMode
Highlighting Current Time [doc.daypilot.org]