Searched refs:usegmt (Results 1 – 10 of 10) sorted by relevance
/third_party/python/Lib/email/ |
D | utils.py | 126 def formatdate(timeval=None, localtime=False, usegmt=False): argument 146 if localtime or usegmt: 152 usegmt = False 153 return format_datetime(dt, usegmt) 155 def format_datetime(dt, usegmt=False): argument 163 if usegmt:
|
/third_party/python/Lib/test/test_email/ |
D | test_utils.py | 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) 159 string = utils.formatdate(timeval, localtime=False, usegmt=False) 161 string = utils.formatdate(timeval, localtime=False, usegmt=True)
|
D | test_email.py | 3013 utils.formatdate(now, localtime=False, usegmt=True),
|
/third_party/python/Doc/library/ |
D | email.utils.rst | 147 .. function:: formatdate(timeval=None, localtime=False, usegmt=False) 162 Optional *usegmt* is a flag that when ``True``, outputs a date string with the 168 .. function:: format_datetime(dt, usegmt=False) 174 If it is an aware timezone with offset zero, then *usegmt* may be set to
|
/third_party/python/Lib/test/ |
D | test_httpservers.py | 354 last_modif.timestamp(), usegmt=True) 482 usegmt=True) 493 usegmt=True)
|
D | test_urllib2.py | 801 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
|
/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/nghttp2/python/ |
D | nghttp2.pyx | 792 usegmt=True)
|
/third_party/python/Misc/ |
D | HISTORY | 19734 + email.Utils.formatdate() grew a 'usegmt' argument for HTTP support.
|