HomeSort by relevance Sort by last modified time
    Searched full:format_datetime (Results 1 - 4 of 4) sorted by null

  /external/chromium-trace/catapult/third_party/webapp2/docs/api/webapp2_extras/
i18n.rst 30 to_local_timezone, to_utc, format_date, format_datetime,
46 .. autofunction:: format_datetime
  /external/chromium-trace/catapult/third_party/webapp2/tests/
extras_i18n_test.py 126 self.assertEqual(i18n.format_datetime(value, format='short'), u'11/10/09 4:36 PM')
127 self.assertEqual(i18n.format_datetime(value, format='medium'), u'Nov 10, 2009 4:36:05 PM')
128 self.assertEqual(i18n.format_datetime(value, format='long'), u'November 10, 2009 4:36:05 PM +0000')
129 #self.assertEqual(i18n.format_datetime(value, format='full'), u'Tuesday, November 10, 2009 4:36:05 PM World (GMT) Time')
130 self.assertEqual(i18n.format_datetime(value, format='full'), u'Tuesday, November 10, 2009 4:36:05 PM GMT+00:00')
133 self.assertEqual(i18n.format_datetime(value, format='short'), u'11/10/09 10:36 AM')
137 self.assertEqual(i18n.format_datetime(value), u'Nov 10, 2009 4:36:05 PM')
143 self.assertEqual(i18n.format_datetime(value, format='short'), u'10/11/09 16:36')
144 self.assertEqual(i18n.format_datetime(value, format='medium'), u'10/11/2009 16:36:05')
145 #self.assertEqual(i18n.format_datetime(value, format='long'), u'10 de novembro de 2009 16:36:05 +0000'
    [all...]
  /external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/
jinja2.py 141 'format_datetime': i18n.format_datetime,
i18n.py 376 def format_datetime(self, datetime=None, format=None, rebase=True): member in class:I18n
403 return dates.format_datetime(datetime, format, locale=self.locale,
736 def format_datetime(datetime=None, format=None, rebase=True): function
737 """See :meth:`I18n.format_datetime`."""
738 return get_i18n().format_datetime(datetime, format, rebase)

Completed in 3716 milliseconds