Please use hour_scale template to configure the format of the dates on Y-Axis.
Related articles:
Converting a Date object to a string
Date Format Specification
All templates of the Units view: https://docs.dhtmlx.com/scheduler/units_view_templates.html