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

Function process_date

days_from_date.py:11–14  ·  view source on GitHub ↗
(user_input)

Source from the content-addressed store, hash-verified

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

Callers 1

printtFunction · 0.70

Calls 1

subMethod · 0.80

Tested by

no test coverage detected