Home
last modified time | relevance | path

Searched refs:usegmt (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython3/Lib/email/
Dutils.py126 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/
Dtest_utils.py30 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)
Dtest_email.py2998 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),
/external/python/cpython2/Lib/email/
Dutils.py124 def formatdate(timeval=None, localtime=False, usegmt=False): argument
163 if usegmt:
/external/python/cpython3/Doc/library/
Demail.utils.rst145 .. 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/
Demail.util.rst84 .. 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/
Dtracie.py109 date = formatdate(timeval=None, localtime=False, usegmt=True)
/external/python/cpython3/Lib/test/
Dtest_httpservers.py352 last_modif.timestamp(), usegmt=True)
479 usegmt=True)
490 usegmt=True)
Dtest_urllib2.py799 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
/external/python/cpython3/Lib/http/
Dserver.py591 return email.utils.formatdate(timestamp, usegmt=True)
/external/python/cpython3/Lib/urllib/
Drequest.py1501 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
2013 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
/external/python/cpython2/Lib/
Durllib2.py1360 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
Durllib.py485 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
/external/python/cpython2/Lib/email/test/
Dtest_email_renamed.py2171 utils.formatdate(now, localtime=False, usegmt=True),
Dtest_email.py2254 Utils.formatdate(now, localtime=False, usegmt=True),
/external/python/cpython2/Misc/
DHISTORY2350 + email.Utils.formatdate() grew a 'usegmt' argument for HTTP support.
/external/python/cpython3/Misc/
DHISTORY19734 + email.Utils.formatdate() grew a 'usegmt' argument for HTTP support.