frappe / gantt

Open Source Javascript Gantt
https://frappe.io/gantt
MIT License
4.6k stars 1.02k forks source link

Problem with dates while in MONTH view #375

Closed slavenakolevaa closed 5 months ago

slavenakolevaa commented 7 months ago

Hello,

I have a few tasks with some start and end date. The tasks (with dates and bars) are displayed correctly when I'm in DAY or WEEK view. If I switch to MONTH, the chart dates are not aligned with the tasks dates.

For example, if the task starts on 2024-06-09 and ends on 2024-06-15, the Gantt displays it somewhere in October, the same year. The date format is set to YYYY-MM-DD. image

Does anyone know how to resolve the issue?

Thank you in advance,

safwansamsudeen commented 5 months ago

@slavenakolevaa 👋🏽,

I don't quite get you - what is the issue? The chart dates are separate from the task dates. The former is influenced by the view you choose, the latter by your inputs.

What is the bug here?

slavenakolevaa commented 5 months ago

@slavenakolevaa 👋🏽,

I don't quite get you - what is the issue? The chart dates are separate from the task dates. The former is influenced by the view you choose, the latter by your inputs.

What is the bug here?

Hi @safwansamsudeen :)

The bug was that the view was showing October, but the start and finish date were before that (in June). Anyways, it was a one-time bug. I hope it won't happen in the future.

Thanks again