-
Notifications
You must be signed in to change notification settings - Fork 278
Don't display clarification time from before/after contest #3192
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
base: main
Are you sure you want to change the base?
Conversation
29417ed to
34a63fe
Compare
nickygerritsen
left a comment
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.
I wonder if we have any cases where this would look ugly but can't think of any.
I like the idea but would wait for other opinions before merging.
I looked at the pages and I think it works in most locations, I disabled it for one. The question is if we do like this for Fine with waiting for some extra opinions. |
I don't see any changes to .twig files? |
34a63fe to
71c0111
Compare
It looks ugly in some cases and less professional in others where printing happened much earlier. The exact time is not relevant and could lead to discussions with teams. Originally this was only for the team interface but it does add information for the jury. It's more important to know that something happened before the contest (or after) and the interpretation of that time as knowing when it exactly happened. We still do this in case we explicit set the format such as for the countdown etc.
71c0111 to
1b214ae
Compare
I was talking about
|
| if ($relativeTime < 0 && $squash) { | ||
| return "Before contest"; | ||
| } | ||
| if ($relativeTime > $contest->getContestTime($contest->getEndtime())) { |
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.
I'd say this also requires $squash.
It looks ugly in some cases and less professional in others where printing happened much earlier. The exact time is not relevant and could lead to discussions with teams.
Originally this was only for the team interface but it does add information for the jury. It's more important to know that something happened before the contest (or after) and the interpretation of that time as knowing when it exactly happened.