Преглед изворни кода

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,