浏览代码

Fix dates of activities related to comments imported from Trello

Ghassen Rjab 7 年之前
父节点
当前提交
a2d7e2cb74
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/trelloCreator.js

+ 1 - 1
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,