fix: gantt starts 12h before now to show running slots
Deploy via Portainer / deploy (push) Successful in 0s
Deploy via Portainer / deploy (push) Successful in 0s
This commit is contained in:
@@ -363,7 +363,7 @@ async function initTimeline() {
|
|||||||
document.getElementById('timeline'),
|
document.getElementById('timeline'),
|
||||||
items, groups,
|
items, groups,
|
||||||
{
|
{
|
||||||
start: now,
|
start: new Date(now.getTime() - 12 * 3600000),
|
||||||
end: new Date(now.getTime() + 14 * 86400000),
|
end: new Date(now.getTime() + 14 * 86400000),
|
||||||
groupOrder: 'id',
|
groupOrder: 'id',
|
||||||
selectable: true,
|
selectable: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user