As a user
I don't want to do complex math to figure out when my token expires
So I can spend my precious, precious brain cycles on more important things.
Description
Currently token expiry is shown using HHH:MM:SS format, which is complicated to understand, especially when number of hours is more than 48, and also seconds is too fine grained.
Suggestion, following output:
If more than a day: "in X days at 12:05"
If less than a day "in 12 hours and 5 minutes (at 23:04)"
If less than two hours "WARNING, token expires in only 1 hour and 43 minutes"
Demo
Demo the expiry time using three different tokens (expected demo time, 2 minutes).
As a user I don't want to do complex math to figure out when my token expires So I can spend my precious, precious brain cycles on more important things.
Description
Currently token expiry is shown using HHH:MM:SS format, which is complicated to understand, especially when number of hours is more than 48, and also seconds is too fine grained.
Suggestion, following output:
Demo
Demo the expiry time using three different tokens (expected demo time, 2 minutes).