Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/diffgram/diffgram
/ validate_date
Function
validate_date
shared/regular/regular_input.py:217–222 ·
view source on GitHub ↗
(date_text)
Source
from the content-addressed store, hash-verified
215
216
217
def
validate_date(date_text):
218
try
:
219
datetime.datetime.strptime(date_text,
'%Y-%m-%d'
)
220
return
True
221
except
ValueError:
222
return
False
223
224
225
def
input_check_many(spec_list,
Callers
1
input_check
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected