Permalink
Browse files

Format times

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
  • Loading branch information...
stefanha committed Aug 7, 2011
1 parent bfee9a9 commit 7570d8acde4c28f5d3faebbe7619d096f662e9ac
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/controller.py
View
@@ -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}))

0 comments on commit 7570d8a

Please sign in to comment.