Home
last modified time | relevance | path

Searched refs:formatdate (Results 1 – 25 of 26) sorted by relevance

12

/external/python/cpython3/Lib/test/test_email/
Dtest_utils.py149 string = utils.formatdate(timeval, localtime=False, usegmt=False)
151 string = utils.formatdate(timeval, localtime=False, usegmt=True)
157 string = utils.formatdate(timeval, localtime=True)
161 string = utils.formatdate(timeval, localtime=True)
Dtest_email.py2983 self.assertEqual(utils.parsedate(utils.formatdate(now))[:6],
2989 utils.parsedate(utils.formatdate(now, localtime=True))[:6],
2995 utils.formatdate(now, localtime=False),
2998 utils.formatdate(now, localtime=False, usegmt=True),
/external/python/httplib2/tests/
Dtest_cache.py421 s = email.utils.formatdate(now + offset, usegmt=True)
432 "date": email.utils.formatdate(usegmt=True),
444 "date": email.utils.formatdate(now, usegmt=True),
445 "expires": email.utils.formatdate(now + 2, usegmt=True),
D__init__.py457 headers.setdefault("date", email.utils.formatdate())
Dtest_http.py576 date = email.utils.formatdate()
/external/mesa3d/.gitlab-ci/tracie/
Dtracie.py18 from email.utils import formatdate
109 date = formatdate(timeval=None, localtime=False, usegmt=True)
/external/python/cpython2/Lib/email/
Dutils.py124 def formatdate(timeval=None, localtime=False, usegmt=False): function
/external/python/cpython3/Lib/email/
Dutils.py126 def formatdate(timeval=None, localtime=False, usegmt=False): function
/external/python/cpython3/Misc/NEWS.d/
D3.5.0rc1.rst93 Fix timezones in email.utils.formatdate. Patch from Dmitry Shachnev.
/external/python/cpython3/Doc/library/
Demail.utils.rst145 .. function:: formatdate(timeval=None, localtime=False, usegmt=False)
168 Like ``formatdate``, but the input is a :mod:`datetime` instance. If it is
/external/python/cpython2/Lib/logging/
Dhandlers.py941 from email.utils import formatdate
951 formatdate(), msg)
/external/python/cpython2/Doc/library/
Demail.util.rst84 .. function:: formatdate([timeval[, localtime][, usegmt]])
/external/python/cpython2/Lib/email/test/
Dtest_email_renamed.py2156 self.assertEqual(utils.parsedate(utils.formatdate(now))[:6],
2162 utils.parsedate(utils.formatdate(now, localtime=True))[:6],
2168 utils.formatdate(now, localtime=False),
2171 utils.formatdate(now, localtime=False, usegmt=True),
Dtest_email.py2239 self.assertEqual(Utils.parsedate(Utils.formatdate(now))[:6],
2245 Utils.parsedate(Utils.formatdate(now, localtime=True))[:6],
2251 Utils.formatdate(now, localtime=False),
2254 Utils.formatdate(now, localtime=False, usegmt=True),
/external/python/cpython2/Lib/
Drfc822.py957 def formatdate(timeval=None): function
Durllib2.py1360 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
Durllib.py485 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
/external/python/cpython3/Lib/http/
Dserver.py591 return email.utils.formatdate(timestamp, usegmt=True)
/external/python/cpython3/Lib/urllib/
Drequest.py1501 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
2013 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
/external/python/cpython2/Lib/test/
Dtest_urllib2.py717 modified = rfc822.formatdate(stats.st_mtime)
/external/python/cpython3/Lib/test/
Dtest_httpservers.py351 self.last_modif_header = email.utils.formatdate(
Dtest_urllib2.py799 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
/external/python/cpython2/Doc/whatsnew/
D2.4.rst1222 :func:`email.Utils.formatdate` function has been changed to make it usable as a
1223 replacement for :func:`rfc822.formatdate`. You may want to write new e-mail
/external/python/cpython3/Doc/whatsnew/
D2.4.rst1222 :func:`email.Utils.formatdate` function has been changed to make it usable as a
1223 replacement for :func:`rfc822.formatdate`. You may want to write new e-mail
/external/python/cpython2/Misc/
DHISTORY2350 + email.Utils.formatdate() grew a 'usegmt' argument for HTTP support.
2588 the class now uses email.Utils.formatdate to generate the time stamp.
6352 - email.Utils.formatdate() now produces the preferred RFC 2822 style

12