Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/test/test_email/
Dtest_utils.py159 string = utils.formatdate(timeval, localtime=False, usegmt=False)
161 string = utils.formatdate(timeval, localtime=False, usegmt=True)
167 string = utils.formatdate(timeval, localtime=True)
171 string = utils.formatdate(timeval, localtime=True)
Dtest_email.py2998 self.assertEqual(utils.parsedate(utils.formatdate(now))[:6],
3004 utils.parsedate(utils.formatdate(now, localtime=True))[:6],
3010 utils.formatdate(now, localtime=False),
3013 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.rst147 .. function:: formatdate(timeval=None, localtime=False, usegmt=False)
170 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.py589 return email.utils.formatdate(timestamp, usegmt=True)
/external/autotest/utils/frozen_chromite/lib/
Dcros_build_lib.py1639 return '%s (%s)' % (email.utils.formatdate(timeval=timeval, localtime=True),
/external/python/cpython3/Lib/urllib/
Drequest.py1507 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
2019 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.py353 self.last_modif_header = email.utils.formatdate(
Dtest_urllib2.py817 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

12