API returns relative times instead of absolute time values

(Felix R.) #1

The API’s GET methods at /admin/users/list return relative times like 'created_at_age': '20h' and 'last_seen_age': '10m'. Maybe this is a misconception, as I do not have much experience with APIs, but shouldn’t the API return absolute times and leave it to the client/UI to interpret them?
Alternatively, is there another way to get a large amount of users with absolute dates other than grabbing them a single user at a time?

edit: Created a pull request at Added absolute dates to user list serializer by RauchF · Pull Request #3051 · discourse/discourse · GitHub