Searched refs:usegmt (Results 1 – 18 of 18) sorted by relevance
/external/python/cpython3/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:
|
/external/python/cpython3/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) 149 string = utils.formatdate(timeval, localtime=False, usegmt=False) 151 string = utils.formatdate(timeval, localtime=False, usegmt=True)
|
D | test_email.py | 2998 utils.formatdate(now, localtime=False, usegmt=True),
|
/external/python/httplib2/tests/ |
D | test_cache.py | 421 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),
|
/external/python/cpython2/Lib/email/ |
D | utils.py | 124 def formatdate(timeval=None, localtime=False, usegmt=False): argument 163 if usegmt:
|
/external/python/cpython3/Doc/library/ |
D | email.utils.rst | 145 .. function:: formatdate(timeval=None, localtime=False, usegmt=False) 160 Optional *usegmt* is a flag that when ``True``, outputs a date string with the 166 .. function:: format_datetime(dt, usegmt=False) 172 If it is an aware timezone with offset zero, then *usegmt* may be set to
|
/external/python/cpython2/Doc/library/ |
D | email.util.rst | 84 .. function:: formatdate([timeval[, localtime][, usegmt]]) 99 Optional *usegmt* is a flag that when ``True``, outputs a date string with the
|
/external/mesa3d/.gitlab-ci/tracie/ |
D | tracie.py | 109 date = formatdate(timeval=None, localtime=False, usegmt=True)
|
/external/python/cpython3/Lib/test/ |
D | test_httpservers.py | 352 last_modif.timestamp(), usegmt=True) 479 usegmt=True) 490 usegmt=True)
|
D | test_urllib2.py | 799 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
|
/external/python/cpython3/Lib/http/ |
D | server.py | 591 return email.utils.formatdate(timestamp, usegmt=True)
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 1501 modified = email.utils.formatdate(stats.st_mtime, usegmt=True) 2013 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
|
/external/python/cpython2/Lib/ |
D | urllib2.py | 1360 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
|
D | urllib.py | 485 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
|
/external/python/cpython2/Lib/email/test/ |
D | test_email_renamed.py | 2171 utils.formatdate(now, localtime=False, usegmt=True),
|
D | test_email.py | 2254 Utils.formatdate(now, localtime=False, usegmt=True),
|
/external/python/cpython2/Misc/ |
D | HISTORY | 2350 + email.Utils.formatdate() grew a 'usegmt' argument for HTTP support.
|
/external/python/cpython3/Misc/ |
D | HISTORY | 19734 + email.Utils.formatdate() grew a 'usegmt' argument for HTTP support.
|