mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 16:56:34 +01:00
create months and days with associated english names, closes #37
This commit is contained in:
@@ -235,7 +235,7 @@ async function updateNote(noteId, newNote, dataKey, sourceId) {
|
||||
"SELECT noteRevisionId FROM note_revisions WHERE noteId = ? AND dateModifiedTo >= ?", [noteId, historyCutoff]);
|
||||
|
||||
await sql.doInTransaction(async () => {
|
||||
const msSinceDateCreated = now.getTime() - utils.parseDate(newNote.detail.dateCreated).getTime();
|
||||
const msSinceDateCreated = now.getTime() - utils.parseDateTime(newNote.detail.dateCreated).getTime();
|
||||
|
||||
if (attributesMap.disable_versioning !== 'true'
|
||||
&& !existingnoteRevisionId
|
||||
|
||||
Reference in New Issue
Block a user