def join_time(user, challenge):
try:
join_dt = challenge.get_join_time(user)
if join_dt:
return "You started solving this challenge on %s." % date_format(join_dt, 'SHORT_DATETIME_FORMAT', True)
return ''
except Solver.DoesNotExist:
return ''
评论列表
文章目录