Skip to content

Commit

Permalink
Linux 客户端版本的 Leanote 无法导入 Evernote 文件
Browse files Browse the repository at this point in the history
  • Loading branch information
lealife committed Mar 3, 2016
1 parent 0745835 commit 1f8f59c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions public/plugins/import_evernote/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,15 @@ var Import = {
parseEachNote: function(note, callback) {
var me = this;

var created = note['created'] && note['created'][0];
var updated = note['updated'] && note['updated'][0];

var jsonNote = {
Title: note['title'][0],
Tags: note['tag'] || [],
Content: note['content'][0],
CreatedTime: me.parseEvernoteTime(note['created'][0]),
UpdatedTime: me.parseEvernoteTime(note['updated'][0]),
CreatedTime: me.parseEvernoteTime(created),
UpdatedTime: me.parseEvernoteTime(updated),
};

// 文件保存之
Expand Down

0 comments on commit 1f8f59c

Please sign in to comment.