Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ parse_date
Method
parse_date
Lib/test/test_http_cookiejar.py:62–63 ·
view source on GitHub ↗
(text)
Source
from the content-addressed store, hash-verified
60
61
def
test_http2time(self):
62
def
parse_date(text):
63
return
time.gmtime(http2time(text))[:6]
64
65
self.assertEqual(parse_date(
"01 Jan 2001"
), (2001, 1, 1, 0, 0, 0.0))
66
Callers
nothing calls this directly
Calls
2
http2time
Function · 0.90
iso2time
Function · 0.90
Tested by
no test coverage detected