Updated client-side JS to match the CoffeeScript formatter for time formatting.

parent 78ed1b67
......@@ -373,7 +373,7 @@ window.addEventListener('load', function(){
var humanTime = moment(timeOfPost).fromNow();
return humanTime + " ";
return humanTime;
}
else
{
......@@ -465,7 +465,7 @@ window.addEventListener('load', function(){
var timestamp = (postDate.getAttribute('data-timestamp')).replace (/_/g, ':');
var timeOfPost = new Date(timestamp);
var humanTime = moment(timeOfPost).fromNow();
postDate.innerHTML = humanTime + " ";
postDate.innerHTML = humanTime;
}
}, 3000);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment