Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
cleanup setting of utcDateCreated in branches and options code
zadam83f125a79f09
diff --git a/src/becca/entities/branch.js b/src/becca/entities/branch.jsindex 6ac065c470..c7d24c597b 100644--- a/src/becca/entities/branch.js+++ b/src/becca/entities/branch.js@@ -136,9 +136,7 @@ class Branch extends AbstractEntity {notePosition: this.notePosition,isExpanded: this.isExpanded,isDeleted: false,- utcDateModified: this.utcDateModified,- // not used for anything, will be later dropped- utcDateCreated: dateUtils.utcNowDateTime()+ utcDateModified: this.utcDateModified};}diff --git a/src/becca/entities/option.js b/src/becca/entities/option.jsindex f38e3f45b5..943ddd6c7d 100644--- a/src/becca/entities/option.js+++ b/src/becca/entities/option.js@@ -37,9 +37,7 @@ class Option extends AbstractEntity {name: this.name,value: this.value,isSynced: this.isSynced,- utcDateModified: this.utcDateModified,- // utcDateCreated is scheduled for removal so the value does not matter- utcDateCreated: dateUtils.utcNowDateTime()+ utcDateModified: this.utcDateModified}}}