Localize rating chart (DMOJ)
This commit is contained in:
parent
0dfad5b0cd
commit
847fc11bc5
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ class UserAboutPage(UserPage):
|
||||||
'ranking': rating.rank,
|
'ranking': rating.rank,
|
||||||
'link': reverse('contest_ranking', args=(rating.contest.key,)),
|
'link': reverse('contest_ranking', args=(rating.contest.key,)),
|
||||||
'timestamp': (rating.contest.end_time - EPOCH).total_seconds() * 1000,
|
'timestamp': (rating.contest.end_time - EPOCH).total_seconds() * 1000,
|
||||||
'date': date_format(rating.contest.end_time, _('M j, Y, G:i')),
|
'date': date_format(timezone.localtime(rating.contest.end_time), _('M j, Y, G:i')),
|
||||||
'class': rating_class(rating.rating),
|
'class': rating_class(rating.rating),
|
||||||
'height': '%.3fem' % rating_progress(rating.rating),
|
'height': '%.3fem' % rating_progress(rating.rating),
|
||||||
} for rating in ratings]))
|
} for rating in ratings]))
|
||||||
|
|
Loading…
Reference in a new issue