diff options
author | Ghassen Rjab <rjab.ghassen@gmail.com> | 2017-06-23 17:58:13 +0100 |
---|---|---|
committer | Ghassen Rjab <rjab.ghassen@gmail.com> | 2017-06-23 17:58:13 +0100 |
commit | aff4655134471551ad78feb02ea6fc62fb55b80f (patch) | |
tree | 419c419b3fd2097159aa3567c8a43d6e30e8ac47 /models/import.js | |
parent | 9d74a76ca22bdbb2b703a34f7546bce2097a0583 (diff) | |
download | wekan-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/import.js')
-rw-r--r-- | models/import.js | 1 |
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) { |