mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	cleanup setting of utcDateCreated in branches and options code
This commit is contained in:
		| @@ -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 | ||||
|         }; | ||||
|     } | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user