mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-25 18:00:28 +01:00
fix teaserTimestamp
This commit is contained in:
@@ -66,7 +66,7 @@ categoriesController.list = function(req, res, next) {
|
||||
if (category && Array.isArray(category.posts) && category.posts.length) {
|
||||
category.teaser = {
|
||||
url: nconf.get('relative_path') + '/topic/' + category.posts[0].topic.slug + '/' + category.posts[0].index,
|
||||
timestampISO: category.posts[0].timestamp
|
||||
timestampISO: category.posts[0].timestampISO
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user