Date.match is not a function

When I upgraded my Gantt(pro) version from 4.1.0 to 4.2.1, I am getting “date.match is not a function” error. A diff of all the dhtmlx gantt files changed show that this function exists in both 4.1 and 4.2.

We are using gantt in meteor.js environment.
Let me know if I have missed out on anything.

Hello Vivek,
The error means, that there is something wrong with the configuration. But it is hard to suggest what might be wrong as I don’t see your code (and the latest version is 6.2).
Please, send me your full project with all the necessary Javascript and CSS files so that I can reproduce the issue locally.
Or reproduce the issue in the following snippet:
Then click on the “Share” button and send me the link.