summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorGhassen Rjab <rjab.ghassen@gmail.com>2017-06-23 17:58:13 +0100
committerGhassen Rjab <rjab.ghassen@gmail.com>2017-06-23 17:58:13 +0100
commitaff4655134471551ad78feb02ea6fc62fb55b80f (patch)
tree419c419b3fd2097159aa3567c8a43d6e30e8ac47 /models
parent9d74a76ca22bdbb2b703a34f7546bce2097a0583 (diff)
downloadwekan-aff4655134471551ad78feb02ea6fc62fb55b80f.tar.gz
wekan-aff4655134471551ad78feb02ea6fc62fb55b80f.tar.bz2
wekan-aff4655134471551ad78feb02ea6fc62fb55b80f.zip
Update import from Trello feature
Add importing the due date of a card
Diffstat (limited to 'models')
-rw-r--r--models/import.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/import.js b/models/import.js
index 709d1699..39a8835e 100644
--- a/models/import.js
+++ b/models/import.js
@@ -229,6 +229,7 @@ class TrelloCreator {
title: card.name,
// we attribute the card to its creator if available
userId: this._user(this.createdBy.cards[card.id]),
+ dueAt: card.due ? this._now(card.due) : null,
};
// add labels
if (card.idLabels) {