When I include
<ng-template #timeScaleMajorSlotTemplate let-data>
<div class="majorTime">{{getMajorTime(data.date)}}</div>
</ng-template>
in Scheduler 17.3.28, I get an error
ERROR TypeError: str.match is not a function
at evalExp (ej2-base.es2015.js:6806)
at compile$1 (ej2-base.es2015.js:6793)
at Object.compile (ej2-base.es2015.js:7073)
at compile$$1 (ej2-base.es2015.js:6968)
at ComponentBase.templateParser (ej2-schedule.es2015.js:11913)
at ComponentBase.initializeTemplates (ej2-schedule.es2015.js:11486)
at ComponentBase.initializeView (ej2-schedule.es2015.js:11479)
at ComponentBase.renderElements (ej2-schedule.es2015.js:11331)
at ComponentBase.initializeResources (ej2-schedule.es2015.js:11310)
at ComponentBase.render (ej2-schedule.es2015.js:11200)
Could you advise?