Anton Shestakov <av6@dwimlabs.net>, Thu, 11 Aug 2016 20:49:37 +0800
pipelines: install dependencies, run tests and report coverage
candolint/uimodules.py
Permissions: -rw-r--r--
from tornado.web import UIModule def render(self, value, format_=True): datetime = value.isoformat() + 'Z' text = value.strftime('%Y-%m-%d %H:%M:%S') + ' UTC' parts = value.split(' ', 2) datetime = '{}T{}{}'.format(*parts) return self.render_string('ui/time.html', datetime=datetime, text=text) return self.render_string('ui/badges.html', check=check)