mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
core: allow setting custom date edited
This commit is contained in:
committed by
Abdullah Atta
parent
993b8460bf
commit
57452bd0e6
@@ -129,7 +129,8 @@ export default class Notes extends Collection {
|
||||
readonly: !!note.readonly,
|
||||
|
||||
dateCreated: note.dateCreated,
|
||||
dateEdited: note.dateEdited || note.dateCreated || Date.now(),
|
||||
dateEdited:
|
||||
noteArg.dateEdited || note.dateEdited || note.dateCreated || Date.now(),
|
||||
dateModified: note.dateModified
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user