formats the end and the start times for the classes in the drawer