Skip to content

Node.js based forum software built for the modern web

update title for new posts as well

barisusaklif4dd0c14aeeb
diff --git a/public/src/client/topic/posts.js b/public/src/client/topic/posts.js
index 6532ae648c..4ad5d3ad60 100644
--- a/public/src/client/topic/posts.js
+++ b/public/src/client/topic/posts.js
@@ -255,7 +255,9 @@ define('forum/topic/posts', [
app.replaceSelfLinks(posts.find('a'));
utils.addCommasToNumbers(posts.find('.formatted-number'));
utils.makeNumbersHumanReadable(posts.find('.human-readable-number'));
- posts.find('.timeago').timeago();
+ posts.find('.timeago').timeago().each(function() {
+ $(this).attr('title', (new Date($(this).attr('title'))).toString());
+ });
posts.find('[component="post/content"] img:not(.emoji)').each(function() {
var $this = $(this);
if (!$this.parent().is('a')) {