Searched refs:format_datetime (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Lib/test/test_email/ |
D | test_utils.py | 20 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/ |
D | utils.py | 153 return format_datetime(dt, usegmt) 155 def format_datetime(dt, usegmt=False): function
|
D | headerregistry.py | 307 kwds['decoded'] = utils.format_datetime(kwds['datetime'])
|
/external/python/cpython3/Doc/library/ |
D | email.utils.rst | 126 The inverse of :func:`format_datetime`. Performs the same function as 166 .. function:: format_datetime(dt, usegmt=False)
|
D | email.headerregistry.rst | 163 email.utils.format_datetime(self.datetime)
|
/external/python/cpython3/Lib/test/ |
D | test_httpservers.py | 478 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/ |
D | 3.3.rst | 1354 * :func:`~email.utils.format_datetime`: given a :class:`~datetime.datetime`,
|
/external/python/cpython3/Misc/ |
D | HISTORY | 9352 - Issue #665194: email.utils now has format_datetime and parsedate_to_datetime
|