mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-26 16:46:51 +08:00
New note: fix 'created' not being serialized
This commit is contained in:
@ -35,6 +35,7 @@ class Note with ChangeNotifier implements Comparable<Note> {
|
||||
|
||||
Note.newNote(this.parent) {
|
||||
_created = DateTime.now();
|
||||
_data.props['created'] = toIso8601WithTimezone(created);
|
||||
_filePath = p.join(parent.folderPath, getFileName(this));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user