Question
Getting the exact timestamp of a Stack Exchange chat message
I'm currently working on (yet another) chat library, and I've been mostly successful gleaning data from the existing libraries, except for one tidbit:
Is there a way to get the exact timestamp of an arbitrary message?
/history
only contains timestamps like "Sat 3:42 PM" (which require parsing, ugh), while the events websocket, the /events
endpoint, and even /new
return an exact timestamp. I've looked through master-chat.js
to no avail.
Is there a way to do this for an arbitrary message given an id, or is inexact parsing needed?