Home
last modified time | relevance | path

Searched refs:format_datetime (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Lib/test/test_email/
Dtest_utils.py20 self.assertEqual(utils.format_datetime(self.naive_dt),
24 self.assertEqual(utils.format_datetime(self.aware_dt),
30 self.assertEqual(utils.format_datetime(utc_dt, usegmt=True),
35 utils.format_datetime(self.naive_dt, usegmt=True)
39 utils.format_datetime(self.aware_dt, usegmt=True)
/external/python/cpython3/Lib/email/
Dutils.py153 return format_datetime(dt, usegmt)
155 def format_datetime(dt, usegmt=False): function
Dheaderregistry.py307 kwds['decoded'] = utils.format_datetime(kwds['datetime'])
/external/python/cpython3/Doc/library/
Demail.utils.rst126 The inverse of :func:`format_datetime`. Performs the same function as
166 .. function:: format_datetime(dt, usegmt=False)
Demail.headerregistry.rst163 email.utils.format_datetime(self.datetime)
/external/python/cpython3/Lib/test/
Dtest_httpservers.py478 headers['If-Modified-Since'] = email.utils.format_datetime(new_dt,
489 headers['If-Modified-Since'] = email.utils.format_datetime(old_dt,
/external/python/cpython3/Doc/whatsnew/
D3.3.rst1354 * :func:`~email.utils.format_datetime`: given a :class:`~datetime.datetime`,
/external/python/cpython3/Misc/
DHISTORY9352 - Issue #665194: email.utils now has format_datetime and parsedate_to_datetime