notes are now created with correct local dates

This commit is contained in:
zadam
2019-03-13 22:43:59 +01:00
parent b68b0fe783
commit 0d0464549f
28 changed files with 482 additions and 250 deletions

View File

@@ -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());
}
}