[Enhancement]: Display time remaining for the ban to expire instead of the full date/time #114
Labels
awaiting-approval
Topic has not been approved or denied
enhancement
An update to an existing part of the codebase
Checked Existing
What enhancement would you like to see?
When a user gets their
account_status
set to1
or2
, the error codes 598-0009 and 598-0010 display an expire date. Example:Wed Dec 4 2024 00:23:15 GMT+0000
This is a very bad practice. First of all, there are a lot of timezones in the world, this actually requires users that are not from the UK (at least during standard time) to figure out what time in UTC corrisponds to their timezone, making it harder to comprehend how much time they have left.
The solution would be adapting to their own timezone but... it's still not straightfoward.
My proposed fix is, display how much time is left! Format can be days, hours, minutes and seconds. For example:
10d5h35m23s
.Any other details to share? (OPTIONAL)
Useful information to banned user is also displaying when the ban was issued, in yyyy-mm-dd
The text was updated successfully, but these errors were encountered: