Home
last modified time | relevance | path

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

/third_party/python/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),
/third_party/python/Lib/email/
Dutils.py126 def formatdate(timeval=None, localtime=False, usegmt=False): function
/third_party/python/Misc/NEWS.d/
D3.5.0rc1.rst93 Fix timezones in email.utils.formatdate. Patch from Dmitry Shachnev.
/third_party/python/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
/third_party/python/Lib/http/
Dserver.py591 return email.utils.formatdate(timestamp, usegmt=True)
/third_party/python/Lib/urllib/
Drequest.py1507 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
2019 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
/third_party/python/Lib/test/
Dtest_httpservers.py353 self.last_modif_header = email.utils.formatdate(
Dtest_urllib2.py801 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
/third_party/python/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
/third_party/nghttp2/python/
Dnghttp2.pyx791 datestr = email.utils.formatdate(timeval=tv, localtime=False,
/third_party/python/Misc/
DHISTORY436 - Issue #22932: Fix timezones in email.utils.formatdate.
19734 + email.Utils.formatdate() grew a 'usegmt' argument for HTTP support.
19972 the class now uses email.Utils.formatdate to generate the time stamp.
23731 - email.Utils.formatdate() now produces the preferred RFC 2822 style