Skip to content

feat: add the possibility to force the chart to start on a specific day of week #527

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Fantomatik
Copy link

You can force the gantt chart to start on a specific day of the week in the view_mode configuration. Documentation updated and default settings for the week view_mode updated to force the chart to start on Monday.
It works by substracting a number of days (0 to 6 days depending of the input value and the initial start date) to the initially calculated start date

The issue #186 was closed as 'Not planned' but I needed it so I added it and wanted to contribute to the project.

I am not a professional dev, only a hobbyist so I hope the code is not too bad.

…ay of week in the view_mode configuration. Documentation updated and default settings for the week view_mode updated to force the chart to start on Monday.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant