Fix dates of activities related to comments imported from Trello

This commit is contained in:
Ghassen Rjab 2017-08-24 01:05:53 +01:00
parent f1488436b8
commit a2d7e2cb74

View file

@ -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,