-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update the wording for "deadline was" #486
Comments
I agree entirely, but so far, I have been unable to find a way how to trick react-intl (the However, if anyone has a tip on how to coerce react-intl to do what we need, I am more than willing to entertain it. |
The underlaying
|
Technically, it might be better to use https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat directly, as it is quite well-supported already. However, I am not that versed in all its nuances in all languages (or at least cs and en). Yes, the So, I am keeping this in the TODO list, but the priority is quite low given its cost-to-benefit ratio. |
I found out that moment.js has I18n as well, I will check it out, whether it will do what we need here... |
The fix will appear in the upcoming release. |
The wording displayed when a student uploads a solution after the deadline of an assignment is (at least to me) misleading. It can look like
To me, this seems that the deadline was three hours prior to the time I am viewing the webpage (not prior to the submit). I'd like a wording like
The text was updated successfully, but these errors were encountered: