Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ adapt_datetime
Function
adapt_datetime
tools/python-3.11.9-amd64/Lib/sqlite3/dbapi2.py:58–59 ·
view source on GitHub ↗
(val)
Source
from the content-addressed store, hash-verified
56
return
val.isoformat()
57
58
def
adapt_datetime(val):
59
return
val.isoformat(
" "
)
60
61
def
convert_date(val):
62
return
datetime.date(*map(int, val.split(b
"-"
)))
Callers
nothing calls this directly
Calls
1
isoformat
Method · 0.45
Tested by
no test coverage detected