Skip to content
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

Weekends appear to be offset in gantt diagrams #6421

Open
arden13 opened this issue Mar 26, 2025 · 0 comments
Open

Weekends appear to be offset in gantt diagrams #6421

arden13 opened this issue Mar 26, 2025 · 0 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@arden13
Copy link

arden13 commented Mar 26, 2025

Description

When using the "exclude weekends" flag, the days appear to be off. A simple example below:

gantt
    axisFormat %b-%d-%y
    tickinterval 1d
    excludes weekends
            Act1: 2025-06-30, 3d
            Act2: 2025-07-09, 3d
Loading

June 30 of 2025 is a monday, as is July 7 2025.

Steps to reproduce

put in the following code:

gantt
    axisFormat %b-%d-%y
    tickinterval 1d
    excludes weekends
            Act1: 2025-06-30, 3d
            Act2: 2025-07-09, 3d

receive chart

Screenshots

No response

Code Sample


Setup

  • Mermaid version: 11.5.0
  • Browser and Version: Chrome, Version 134.0.6998.177 (Official Build) (64-bit)

Suggested Solutions

No response

Additional Context

No response

@arden13 arden13 added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

1 participant