Linux 客户端版本的 Leanote 无法导入 Evernote 文件

https://github.com/leanote/leanote/issues/316
This commit is contained in:
life
2016-03-03 22:00:08 +08:00
parent 0745835b09
commit 1f8f59c3a1

View File

@@ -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),
};
// 文件保存之