MCPcopy Index your code
hub / github.com/geekcomputers/Python / process_date

Function process_date

Day_of_week.py:8–11  ·  view source on GitHub ↗
(user_input)

Source from the content-addressed store, hash-verified

6
7
8def process_date(user_input):
9 user_input = re.sub(r"/", " ", user_input) # substitute / with space
10 user_input = re.sub(r"-", " ", user_input) # substitute - with space
11 return user_input
12
13
14def find_day(date):

Callers 1

Day_of_week.pyFile · 0.70

Calls 1

subMethod · 0.80

Tested by

no test coverage detected