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
Change dateFormat to YYYY-Q
Update relevant dates to new format
Add Task with start and end date using absolute YYYY-Q format
Observe the task with absolute YYYY-Q end date
See Error
Expected behavior
Compare to comparable gantt chart using default dateFormat YYYY-MM-DDLink to Live Editor
Screenshots
The Does This Work? task renders as text only. No visual bar for the start & end dates are rendered:
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
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 anddateFormat
was modified accordingly.dateFormat
toYYYY-Q
YYYY-Q
formatYYYY-Q
end dateExpected behavior
Compare to comparable gantt chart using default
dateFormat YYYY-MM-DD
Link to Live EditorScreenshots The
Does This Work?
task renders as text only. No visual bar for the start & end dates are rendered:Desktop (please complete the following information):
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 Revertedmmdc
to last known working version@mermaid-js/mermaid-cli@9.1.7