summaryrefslogtreecommitdiffstats
path: root/models/trelloCreator.js
diff options
context:
space:
mode:
authorGhassen Rjab <rjab.ghassen@gmail.com>2017-08-24 01:05:53 +0100
committerGhassen Rjab <rjab.ghassen@gmail.com>2017-08-24 01:05:53 +0100
commita2d7e2cb741186218c87c34a18f82d526a63d54b (patch)
treeaa0f769294e3eae1bb8df2ddd7b15cebcae46c80 /models/trelloCreator.js
parentf1488436b8ec69d960ef958581880828bc828efe (diff)
downloadwekan-a2d7e2cb741186218c87c34a18f82d526a63d54b.tar.gz
wekan-a2d7e2cb741186218c87c34a18f82d526a63d54b.tar.bz2
wekan-a2d7e2cb741186218c87c34a18f82d526a63d54b.zip
Fix dates of activities related to comments imported from Trello
Diffstat (limited to 'models/trelloCreator.js')
-rw-r--r--models/trelloCreator.js2
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,