Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Format times

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
  • Loading branch information...
commit 7570d8acde4c28f5d3faebbe7619d096f662e9ac 1 parent bfee9a9
@stefanha stefanha authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/controller.py
View
2  src/controller.py
@@ -93,7 +93,7 @@ def answer_letter(t,c):
if team.remaining():
progresses.append('%d left' % team.remaining())
else:
- progresses.append(str(team.finish_time))
+ progresses.append(team.finish_time.strftime('%H:%M'))
logging.debug('ShowHunt answer_sets: %s' % answer_sets)
self.response.out.write(utils.render('templates/hunt.html', {'hunt': hunt, 'answer_sets': answer_sets, 'scores': scores, 'progresses': progresses}))
Please sign in to comment.
Something went wrong with that request. Please try again.