mirror of
https://github.com/zadam/trilium.git
synced 2025-12-22 08:09:55 +01:00
notes are now created with correct local dates
This commit is contained in:
@@ -91,7 +91,7 @@ app.on('ready', async () => {
|
||||
const dateNoteService = require('./src/services/date_notes');
|
||||
const dateUtils = require('./src/services/date_utils');
|
||||
|
||||
const parentNote = await dateNoteService.getDateNote(dateUtils.nowLocalDate());
|
||||
const parentNote = await dateNoteService.getDateNote(dateUtils.localNowDate());
|
||||
|
||||
// window may be hidden / not in focus
|
||||
mainWindow.focus();
|
||||
|
||||
Reference in New Issue
Block a user