MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / parsedate

Function parsedate

tools/python-3.11.9-amd64/Lib/email/_parseaddr.py:182–188  ·  view source on GitHub ↗

Convert a time string to a time tuple.

(data)

Source from the content-addressed store, hash-verified

180
181
182def parsedate(data):
183 """Convert a time string to a time tuple."""
184 t = parsedate_tz(data)
185 if isinstance(t, tuple):
186 return t[:9]
187 else:
188 return t
189
190
191def mktime_tz(data):

Callers 2

update_headersMethod · 0.85
update_headersMethod · 0.85

Calls 1

parsedate_tzFunction · 0.85

Tested by

no test coverage detected