历史记录无日期

This commit is contained in:
life
2015-04-12 11:54:55 +08:00
parent c5dc0651a8
commit 5ef4ecd242
3 changed files with 5 additions and 3 deletions

2
src/node_modules/note.js generated vendored
View File

@@ -197,7 +197,7 @@ var Note = {
else {
var histories = [];
for(var i = doc.Histories.length - 1; i >= 0; --i) {
histories.push({Content: doc.Histories[i]});
histories.push({Content: doc.Histories[i], UpdatedTime: doc.UpdatedTime || new Date()});
}
callback(histories);
}