-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve displayed timestamps for chat messages #124
Comments
What's the desired behavior? Right now I think the chat window shows all messages since the beginning of time? Are there plans to limit what's shown in the chat screen? Does that relate to this issue? If the chat window only goes back a few hours or until midnight UTC it makes the disambiguation problem easier. |
It goes back some 1000 or 2000 or 5000 messages, I forget exactly how much. I think switching to a 24hr clock would alone help a lot, which should just On Sun, Jan 24, 2016 at 10:17 PM, mattj256 [email protected] wrote:
|
I'm nowhere near having my dev environment set up. Does this work?
|
I'm surprised - I don't recall fixing this. I now suspect I was just hallucinating the problem earlier. The relevant code is in frontend/js/Utils.js: timeToHHMMSS: function(time) { Looking up the documentation for the getHours function in javascript, it does appear that it returns a number from 0 to 23. So all is well for 12h vs 24h I think. Thanks for asking further into this. It still remains, though, to show an indicator of how long ago if it was from an earlier day, although certainly this is is less of an issue than I thought it was. |
Currently, the time indicator for chat only shows hours, minutes, and seconds. When this wraps around, it's hard to know how long has passed. Also maybe it should use a 24h display instead of a 12h display.
The text was updated successfully, but these errors were encountered: