This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def at_time(t): | |
return time(hour=int(t.split(':')[0]), minute=int(t.split(':')[1])) | |
def r_time(r): | |
return at_time(r.split('~')[0]), at_time(r.split('~')[1]), | |
def fmt(start, end): |