mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 15:35:47 +01:00
minor bug with feed posttime if it was never edited
This commit is contained in:
@@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
for (var i = 0, ii = topic_posts.length; i < ii; i++) {
|
for (var i = 0, ii = topic_posts.length; i < ii; i++) {
|
||||||
postData = topic_posts[i];
|
postData = topic_posts[i];
|
||||||
dateStamp = new Date(parseInt(postData.edited === 0 ? postData.timestamp : postData.edited, 10)).toUTCString();
|
dateStamp = new Date(parseInt(postData.edited === '0' ? postData.timestamp : postData.edited, 10)).toUTCString();
|
||||||
title = 'Reply to ' + topicData.topic_name + ' on ' + dateStamp;
|
title = 'Reply to ' + topicData.topic_name + ' on ' + dateStamp;
|
||||||
|
|
||||||
feed.item({
|
feed.item({
|
||||||
|
|||||||
Reference in New Issue
Block a user