mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
notes are now created with correct local dates
This commit is contained in:
@@ -79,7 +79,7 @@ async function login() {
|
||||
}
|
||||
|
||||
async function doLogin() {
|
||||
const timestamp = dateUtils.nowDate();
|
||||
const timestamp = dateUtils.utcNowDateTime();
|
||||
|
||||
const documentSecret = await optionService.getOption('documentSecret');
|
||||
const hash = utils.hmac(documentSecret, timestamp);
|
||||
|
||||
Reference in New Issue
Block a user