fix gantt chart date format issue

This commit is contained in:
darshanr0107
2025-06-27 15:01:45 +05:30
parent e7970c66ee
commit bfa0eefa32
2 changed files with 25 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