-
Notifications
You must be signed in to change notification settings - Fork 17
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
The time an order was created should be displayed the same regardless of the Mostrod configuration used.
When an order is newly created, it should say: "a moment ago".
Currently, when using the default Mostrod, it displays correctly because that Mostrod uses expiration_hours = 24. However, if I change the Mostrod instance and it uses a different expiration_hours, the app displays it incorrectly.
These orders were created just now and should say just now, but times are wrong
- if the instance I'm using uses
expiration_hours > 24 hoursthe app displays the time in the future.
In this caseexpiration_hours = 40it displays "16 hours from now"
- if the instance I'm using uses
expiration_hours < 24 hoursthe app displays the time in the past.
In this caseexpiration_hours = 20it displays "4 hours ago"

Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed