MCPcopy 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

mapFunction · 0.50
dateMethod · 0.45
splitMethod · 0.45

Tested by

no test coverage detected