Searched refs:format_time (Results 1 – 7 of 7) sorted by relevance
/external/chromium-trace/catapult/third_party/webapp2/tests/ |
D | extras_i18n_test.py | 153 self.assertEqual(i18n.format_time(value, format='short'), u'4:36 PM') 154 self.assertEqual(i18n.format_time(value, format='medium'), u'4:36:05 PM') 155 self.assertEqual(i18n.format_time(value, format='long'), u'4:36:05 PM +0000') 157 self.assertEqual(i18n.format_time(value, format='full'), u'4:36:05 PM GMT+00:00') 161 self.assertEqual(i18n.format_time(value), u'4:36:05 PM') 167 self.assertEqual(i18n.format_time(value, format='short'), u'16:36') 168 self.assertEqual(i18n.format_time(value, format='medium'), u'16:36:05') 170 self.assertEqual(i18n.format_time(value, format='long'), u'16h36min05s +0000') 172 self.assertEqual(i18n.format_time(value, format='full'), u'16h36min05s GMT+00:00') 175 self.assertEqual(i18n.format_time(value, format='short'), u'10:36') [all …]
|
/external/autotest/site_utils/ |
D | diagnosis_utils.py | 84 def format_time(cls, datetime_obj): member in JobTimer 112 self.format_time(self.job_created_time), 113 self.format_time(datetime.now())) 254 JobTimer.format_time(datetime.now()),
|
D | run_suite.py | 1435 diagnosis_utils.JobTimer.format_time(datetime.now())) 1521 job_timer.format_time(job_timer.job_created_time),
|
/external/chromium-trace/catapult/third_party/webapp2/docs/api/webapp2_extras/ |
D | i18n.rst | 31 format_time, format_timedelta, format_number, format_decimal, 47 .. autofunction:: format_time
|
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/ |
D | i18n.py | 406 def format_time(self, time=None, format=None, rebase=True): member in I18n 433 return dates.format_time(time, format, locale=self.locale, **kwargs) 741 def format_time(time=None, format=None, rebase=True): function 743 return get_i18n().format_time(time, format, rebase)
|
D | jinja2.py | 140 'format_time': i18n.format_time,
|
/external/chromium-trace/catapult/third_party/Paste/paste/debug/ |
D | watchthreads.py | 220 thread.time_html = format_time(now-time_started) 300 def format_time(time_length): function
|