From a2d7e2cb741186218c87c34a18f82d526a63d54b Mon Sep 17 00:00:00 2001 From: Ghassen Rjab Date: Thu, 24 Aug 2017 01:05:53 +0100 Subject: Fix dates of activities related to comments imported from Trello --- models/trelloCreator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models') diff --git a/models/trelloCreator.js b/models/trelloCreator.js index 57d4e626..60207546 100644 --- a/models/trelloCreator.js +++ b/models/trelloCreator.js @@ -302,7 +302,7 @@ export class TrelloCreator { boardId: commentToCreate.boardId, cardId: commentToCreate.cardId, commentId, - createdAt: this._now(commentToCreate.createdAt), + createdAt: this._now(comment.date), // we attribute the addComment (not the import) // to the original author - it is needed by some UI elements. userId: commentToCreate.userId, -- cgit v1.2.3-1-g7c22