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:
Jason Würtz
2019-07-07 16:28:31 -03:00
parent 0a567a3ef9
commit 16f3338b3d
2 changed files with 7 additions and 5 deletions

View File

@@ -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)
})