diff options
author | Ghassen Rjab <rjab.ghassen@gmail.com> | 2017-08-24 01:05:53 +0100 |
---|---|---|
committer | Ghassen Rjab <rjab.ghassen@gmail.com> | 2017-08-24 01:05:53 +0100 |
commit | a2d7e2cb741186218c87c34a18f82d526a63d54b (patch) | |
tree | aa0f769294e3eae1bb8df2ddd7b15cebcae46c80 /models | |
parent | f1488436b8ec69d960ef958581880828bc828efe (diff) | |
download | wekan-a2d7e2cb741186218c87c34a18f82d526a63d54b.tar.gz wekan-a2d7e2cb741186218c87c34a18f82d526a63d54b.tar.bz2 wekan-a2d7e2cb741186218c87c34a18f82d526a63d54b.zip |
Fix dates of activities related to comments imported from Trello
Diffstat (limited to 'models')
-rw-r--r-- | models/trelloCreator.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/trelloCreator.js b/models/trelloCreator.js index 57d4e626..60207546 100644 --- a/models/trelloCreator.js +++ b/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, |