浏览代码

Merge branch 'GhassenRjab-fix-trello-import' into devel

Import due date from Trello. Thanks to GhassenRjab ! Closes #1081
Lauri Ojansivu 8 年之前
父节点
当前提交
868587c409
共有 2 个文件被更改,包括 6 次插入1 次删除
  1. 5 1
      CHANGELOG.md
  2. 1 0
      models/import.js

+ 5 - 1
CHANGELOG.md

@@ -1,6 +1,10 @@
 # Upcoming Wekan release
 
-This release fixes the following bugs:
+This release adds the following new features:
+
+* [Import due date from Trello](https://github.com/wekan/wekan/pull/1082).
+
+and fixes the following bugs:
 
 * [Fix importing Trello board: Attribute correct members to their
    comments](https://github.com/wekan/wekan/pull/1080);

+ 1 - 0
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) {