Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create contest monitoring page #359
base: master
Are you sure you want to change the base?
Create contest monitoring page #359
Changes from 17 commits
2942a79
91928e1
6a07b6a
f82adf0
9e9b399
5d23a7e
c7bd8de
effe9b1
bf686f6
ffcfaec
215fbb3
b08adc3
76a41f4
3b7cbac
5117a42
6077a74
979449f
d501172
71e422f
33a5b9f
2ebbf0a
a04c578
6977291
1b665d7
2ef9ff9
beca5c8
1354ab6
0741edd
6f9562a
227503a
b909df4
b1593c0
448fa8a
c540047
3e2f07e
36faf0e
29970c2
324c65e
3875af1
36b4f1a
c259d1c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks fishy, especially [:-7]
you could try using huminize module and naturaldelta/precisedelta
https://python-humanize.readthedocs.io/en/latest/time/#humanize.time.precisedelta
maybe this logic can be moved to template + extra tag that present timedelta between end & cur_time
(something similar to https://github.com/sio2project/oioioi/blob/master/oioioi/base/templatetags/format_data_range.py)