mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
notes are now created with correct local dates
This commit is contained in:
@@ -48,7 +48,7 @@ async function addEntitySync(entityName, entityId, sourceId) {
|
||||
await sql.replace("sync", {
|
||||
entityName: entityName,
|
||||
entityId: entityId,
|
||||
utcSyncDate: dateUtils.nowDate(),
|
||||
utcSyncDate: dateUtils.utcNowDateTime(),
|
||||
sourceId: sourceId || cls.getSourceId() || sourceIdService.getCurrentSourceId()
|
||||
});
|
||||
}
|
||||
@@ -78,7 +78,7 @@ async function fillSyncRows(entityName, entityKey, condition = '') {
|
||||
entityName: entityName,
|
||||
entityId: entityId,
|
||||
sourceId: "SYNC_FILL",
|
||||
utcSyncDate: dateUtils.nowDate()
|
||||
utcSyncDate: dateUtils.utcNowDateTime()
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user