[GH-ISSUE #1389] GANTT View rounds down dates #6379

Closed
opened 2026-04-20 16:58:15 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @xeruf on GitHub (Sep 2, 2025).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/1389

Description

when I put a task with end date to the evening on a day, it ends the task on the start of the day

furthermore it would be nice to consider the due date in the gantt chart as well, maybe showing a light blue / grey extension of the task block until the due date

Vikunja Version

0.24.6 / try

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

Image Image
Originally created by @xeruf on GitHub (Sep 2, 2025). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/1389 ### Description when I put a task with end date to the evening on a day, it ends the task on the start of the day furthermore it would be nice to consider the due date in the gantt chart as well, maybe showing a light blue / grey extension of the task block until the due date ### Vikunja Version 0.24.6 / try ### Browser and version _No response_ ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots <img width="628" height="349" alt="Image" src="https://github.com/user-attachments/assets/c7899dd1-0054-4759-a053-1d0c29ba17c3" /> <img width="808" height="227" alt="Image" src="https://github.com/user-attachments/assets/bea30f46-6689-4717-9415-48d96ae2fd01" />
GiteaMirror added the area/gantt label 2026-04-20 16:58:15 -05:00
Author
Owner

@kolaente commented on GitHub (Sep 2, 2025):

Do you think it should round naturally instead? (<= 12:00 -> round to 00:00, > 12:00 -> round to 23:59)

<!-- gh-comment-id:3246729048 --> @kolaente commented on GitHub (Sep 2, 2025): Do you think it should round naturally instead? (<= 12:00 -> round to 00:00, > 12:00 -> round to 23:59)
Author
Owner

@xeruf commented on GitHub (Sep 3, 2025):

ideally, not round at all

if rounding is needed natural would be an option, but I think rounding outwards would be ideal - i.e. from the beginning of the first day to the end of the last day, so that all days that are involved are covered

<!-- gh-comment-id:3248869980 --> @xeruf commented on GitHub (Sep 3, 2025): ideally, not round at all if rounding is needed natural would be an option, but I think rounding outwards would be ideal - i.e. from the beginning of the first day to the end of the last day, so that all days that are involved are covered
Author
Owner

@kolaente commented on GitHub (Sep 3, 2025):

We need to round because the precision of the Gantt chart does not allow it to be more granular than days.

<!-- gh-comment-id:3249743443 --> @kolaente commented on GitHub (Sep 3, 2025): We need to round because the precision of the Gantt chart does not allow it to be more granular than days.
Author
Owner

@kolaente commented on GitHub (Sep 11, 2025):

Will be fixed by https://github.com/go-vikunja/vikunja/pull/1476

<!-- gh-comment-id:3281502864 --> @kolaente commented on GitHub (Sep 11, 2025): Will be fixed by https://github.com/go-vikunja/vikunja/pull/1476
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6379