def format_time_range(t1,t2): from boost_consulting.utils.dom import tag as _ if t1 == t2: return _12hr_time(t1) else: return (_12hr_time(t1), _.br, _12hr_time(t2))