Explorar el Código

Fix dates of activities related to comments imported from Trello

Ghassen Rjab hace 7 años
padre
commit
a2d7e2cb74
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,