Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: persist note dateCreated & dateEdited

thecodrr7049c9f53438
diff --git a/packages/core/collections/notes.js b/packages/core/collections/notes.js
index 3d5538607..aa4c7453b 100644
--- a/packages/core/collections/notes.js
+++ b/packages/core/collections/notes.js
@@ -94,6 +94,8 @@ export default class Notes extends Collection {
color: note.color,
tags: note.tags || [],
favorite: !!note.favorite,
+ dateCreated: note.dateCreated,
+ dateEdited: note.dateEdited,
localOnly: !!note.localOnly,
conflicted: !!note.conflicted,
};