Browse Source

Fix dates of activities related to comments imported from Trello

Ghassen Rjab 7 years ago
parent
commit
a2d7e2cb74
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/trelloCreator.js

+ 1 - 1
models/trelloCreator.js

@@ -302,7 +302,7 @@ export class TrelloCreator {
             boardId: commentToCreate.boardId,
             boardId: commentToCreate.boardId,
             cardId: commentToCreate.cardId,
             cardId: commentToCreate.cardId,
             commentId,
             commentId,
-            createdAt: this._now(commentToCreate.createdAt),
+            createdAt: this._now(comment.date),
             // we attribute the addComment (not the import)
             // we attribute the addComment (not the import)
             // to the original author - it is needed by some UI elements.
             // to the original author - it is needed by some UI elements.
             userId: commentToCreate.userId,
             userId: commentToCreate.userId,