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