I am frequently active in the SOBotics chat room, and I see that sometimes we get the time when a message is posted:
But sometimes we don't get the time of postings as shown in this image:
Though I know that we can get the time of posting by clicking the arrow that appears to the left of the message:
But you can see that we don't get the exact time, we just get the hours ago when the message was posted.
My feature request is to add the timestamp on every message. This is what I mean to get (thanks to @Tschallacka for his great user script):
In the meantime, we could use this script:
// ==UserScript==
// @name Timer
// @auther Tschallacka
// @namespace Violentmonkey Scripts
// @match https://chat.stackoverflow.com/rooms/111347/sobotics
// @grant none
// ==/UserScript==
window.setInterval(function() {
$('.message').each(function(index, el) {
var $el = $(el);
if($el.find('.timestamp').length === 0) {
var date = new Date($el.data('info').time*1000);
$el.append('<div class="timestamp">'+date.getHours()+':'+date.getMinutes()+'</div>');
}
})
}, 500);
title
attribute to the message time and get to know the exact time of a message posted.window.setInterval(function() { $('.message').each(function(index, el) { var $el = $(el); if($el.find('.timestamp').length === 0) { var date = new Date($el.data('info').time*1000); $el.append('<div class="timestamp">'+date.getHours()+':'+date.getMinutes()+'</div>'); } }) }, 500);