Open watery opened 1 year ago
A date format expressed like:
data: { dateFormat : "yyyy-MM-dd HH:mm"
Doesn't assign a value to fmt[secs] in Gantt.utils.createDateParser(format), which results in undefined when passed in:
fmt[secs]
Gantt.utils.createDateParser(format)
https://github.com/IBM/gantt-chart/blob/d4e55dd7d47ca4e79e7e09486f2dc6a9bd84cb4f/packages/ibm-gantt-chart/src/core/utils.js#L107-L115
resulting in a NaN value, but without any error thrown.
A date format expressed like:
Doesn't assign a value to
fmt[secs]
inGantt.utils.createDateParser(format)
, which results in undefined when passed in:https://github.com/IBM/gantt-chart/blob/d4e55dd7d47ca4e79e7e09486f2dc6a9bd84cb4f/packages/ibm-gantt-chart/src/core/utils.js#L107-L115
resulting in a NaN value, but without any error thrown.