// Format schedule times.
function mapTimes(times) {
return times.map(time => {
// Split the time into hour, minute, and seconds sections.
const splitStartTime = (time.startTime).split(":");
// Return the hour, minutes, and suffix texts.
return `${(splitStartTime[0] + ":" + splitStartTime[1])} `;
})
}