mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-14 04:49:44 +02:00
feat(gantt.jison): update parser to accept a inclusive end date arg
if a line contains inclusiveEndDates then it will toggle the chart to use inclusive end dates
This commit is contained in:
@@ -15,8 +15,8 @@ describe('when parsing a gantt diagram it', function () {
|
||||
parser.parse(str)
|
||||
})
|
||||
|
||||
it('should handle a dateFormat definition with inclusivity specified', function () {
|
||||
const str = 'gantt\ndateFormat yyyy-mm-dd inclusive'
|
||||
it('should handle a inclusive end date definition', function () {
|
||||
const str = 'gantt\ndateFormat yyyy-mm-dd\ninclusiveEndDates'
|
||||
|
||||
parser.parse(str)
|
||||
})
|
||||
|
Reference in New Issue
Block a user