Searched refs:formatdate (Results 1 – 12 of 12) sorted by relevance
/third_party/python/Lib/test/test_email/ |
D | test_utils.py | 159 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)
|
D | test_email.py | 2998 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/ |
D | utils.py | 126 def formatdate(timeval=None, localtime=False, usegmt=False): function
|
/third_party/python/Misc/NEWS.d/ |
D | 3.5.0rc1.rst | 93 Fix timezones in email.utils.formatdate. Patch from Dmitry Shachnev.
|
/third_party/python/Doc/library/ |
D | email.utils.rst | 147 .. 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/ |
D | server.py | 591 return email.utils.formatdate(timestamp, usegmt=True)
|
/third_party/python/Lib/urllib/ |
D | request.py | 1507 modified = email.utils.formatdate(stats.st_mtime, usegmt=True) 2019 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
|
/third_party/python/Lib/test/ |
D | test_httpservers.py | 353 self.last_modif_header = email.utils.formatdate(
|
D | test_urllib2.py | 801 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
|
/third_party/python/Doc/whatsnew/ |
D | 2.4.rst | 1222 :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/ |
D | nghttp2.pyx | 791 datestr = email.utils.formatdate(timeval=tv, localtime=False,
|
/third_party/python/Misc/ |
D | HISTORY | 436 - 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
|