import dayjs from "dayjs";
//#region src/components/schedules/components/CurrentDay/utils.ts
const getTimeRange = (array) => {
	return array.map((d) => {
		return dayjs(d.start_time).format("hh:mm a") + " - " + dayjs(d.end_time).format("hh:mm a");
	}).join(", ");
};
//#endregion
export { getTimeRange };
