From 880f290d82d023dffac6215f86f37b786e5d3c72 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Mon, 9 Dec 2019 01:36:55 +0100 Subject: [PATCH] New note: fix 'created' not being serialized --- lib/core/note.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core/note.dart b/lib/core/note.dart index c0dea91a..44747501 100644 --- a/lib/core/note.dart +++ b/lib/core/note.dart @@ -35,6 +35,7 @@ class Note with ChangeNotifier implements Comparable { Note.newNote(this.parent) { _created = DateTime.now(); + _data.props['created'] = toIso8601WithTimezone(created); _filePath = p.join(parent.folderPath, getFileName(this)); }