Skip to content
TORNLIFE More

Data format for last action

Started by L4suicide [15699] on in API Development.

9 replies · 127 views · thread synced · 7 days ago · View on torn.com
About this thread

Posts archived: 10 / 10 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
10
Discussion span
→
People posting
7
Likes on archived posts
14
Authority score
52 / 100
Historical score
21 / 100
Story score
32 / 100
Engagement score
54 / 100
L4suicide [15699]

Currently for a user it shows:
"last_action": "2 minutes ago",

Could we change this or add another field for last_action_time, using a standard date format?


Meme_Raven [1891116]

Same with hospital times (unless i'm not looking in the right place), I've done a little workaround to check if it's "hours", "minutes", "seconds" and strip everything else. Time stamping would be nice.
L4suicide [15699]

Don't know yet, I was just looking at what is possible to see if I could do something.

At the end of the day it is much neater to provide a timestamp for these things, and then allow the developer to use whatever they have on hand to then turn it into something like "x days ago"