Merge pull request #6693 from mermaid-js/6649-gantt-chart-dateformat

6649: gantt chart date format issue
This commit is contained in:
Knut Sveidqvist
2025-08-08 10:09:59 +00:00
committed by GitHub
3 changed files with 30 additions and 2 deletions

View File

@@ -565,6 +565,18 @@ describe('Gantt diagram', () => {
);
});
it('should render only the day when using dateFormat D', () => {
imgSnapshotTest(
`
gantt
title Test
dateFormat D
A :a, 1, 1d
`,
{}
);
});
// TODO: fix it
//
// This test is skipped deliberately