mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
notes are now created with correct local dates
This commit is contained in:
@@ -24,7 +24,7 @@ async function periodBackup(optionName, fileName, periodInSeconds) {
|
||||
if (now.getTime() - lastDailyBackupDate.getTime() > periodInSeconds * 1000) {
|
||||
await backupNow(fileName);
|
||||
|
||||
await optionService.setOption(optionName, dateUtils.nowDate());
|
||||
await optionService.setOption(optionName, dateUtils.utcNowDateTime());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user