diff --git a/src/components/chane.py b/src/components/chane.py index ae90782..9f057f8 100644 --- a/src/components/chane.py +++ b/src/components/chane.py @@ -36,4 +36,24 @@ def getTitle(user_title): return titles[max_index] #def getSeats: - #pass \ No newline at end of file + #pass + +def getTime(user_time): + numbers = re.findall('[0-9]+', user_time) + numbers = [number.zfill(2) for number in numbers] + return ":".join(numbers[:2]) + + + + + + + + + + + + + + +