Hi Moiz,
Greetings from Syncfusion Support.
We can achieve your requirement using majorSlotTemplate and minorSlotTemplate, please refer to the following sample and UG.
public instance: Internationalization = new Internationalization();
getMajorTime(date: Date): string {
return this.instance.formatDate(date, { skeleton: "hm" });
}
getMinorTime(date: Date): string {
return this.instance.formatDate(date, { skeleton: "hm" });
}
<ng-template #timeScaleMajorSlotTemplate let-data>
<div class="majorTime">{{getMajorTime(data.date)}}</div>
</ng-template>
<ng-template #timeScaleMinorSlotTemplate let-data>
<div class="minorTime">{{getMinorTime(data.date)}}</div>
</ng-template>
Please get back to us if you need any further assistance.
Regards,
Nevitha