Home
last modified time | relevance | path

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

/third_party/python/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:
/third_party/python/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)
159 string = utils.formatdate(timeval, localtime=False, usegmt=False)
161 string = utils.formatdate(timeval, localtime=False, usegmt=True)
Dtest_email.py3013 utils.formatdate(now, localtime=False, usegmt=True),
/third_party/python/Doc/library/
Demail.utils.rst147 .. 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/
Dtest_httpservers.py354 last_modif.timestamp(), usegmt=True)
482 usegmt=True)
493 usegmt=True)
Dtest_urllib2.py801 modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
/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/nghttp2/python/
Dnghttp2.pyx792 usegmt=True)
/third_party/python/Misc/
DHISTORY19734 + email.Utils.formatdate() grew a 'usegmt' argument for HTTP support.