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

gantt task duration not rendered when using YYYY-Q date format and absolute end-date #1376

Open
sberke-intc opened this issue Jan 16, 2024 · 1 comment
Labels
bug Something isn't working Stale

Comments

@sberke-intc
Copy link

Describe the bug
Identified Gantt tasks stopped rendering task duration with version 10.6.1 when using YYYY-Q as the date format and absolute end date

To Reproduce
Link to Live Editor: Live Editor link (see last task)

Steps to reproduce the behavior:

A "Does This Work?" task was added to the default gantt example and dateFormat was modified accordingly.

gantt
    title A Gantt Diagram
    dateFormat  YYYY-Q
    section Section
    A task           :a1, 2014-1, 30d
    Another task     :after a1  , 20d
    section Another
    Task in sec      :2014-1  , 12d
    another task     : 24d
    Does This Work?:        :2014-1, 2014-2
  1. Change dateFormat to YYYY-Q
  2. Update relevant dates to new format
  3. Add Task with start and end date using absolute YYYY-Q format
  4. Observe the task with absolute YYYY-Q end date
  5. See Error

Expected behavior

Compare to comparable gantt chart using default dateFormat YYYY-MM-DD Link to Live Editor

image

Screenshots
The Does This Work? task renders as text only. No visual bar for the start & end dates are rendered:

image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser [e.g. chrome, safari] Microsoft Edge
  • Version [e.g. 22] 120.0.2210.121 (Official build) (64-bit

Smartphone (please complete the following information):

NA

Additional context

Identified using mmdc with @mermaid-js/mermaid-cli@10.6.1
Verified using mermaid.live link
Reverted mmdc to last known working version @mermaid-js/mermaid-cli@9.1.7

@sberke-intc sberke-intc added the bug Something isn't working label Jan 16, 2024
Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days

@github-actions github-actions bot added the Stale label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

1 participant