Academic Settings / Timetable / Timetable Settings / Visibility Settings & Rights / Show hours on timetable views
When the setting is active in the Student’s portal in the timetable the hours are displayed below the Units.
Example in Student’s portal
Setting -> Active (Figure 1)

Figure 1
Setting -> Inactive (Figure 2)

Figure 2