Better timezone handling

This commit is contained in:
Magnus Åhall 2024-03-30 09:46:48 +01:00
parent aee1c25f54
commit 27e493945a
5 changed files with 21 additions and 6 deletions

View file

@ -485,6 +485,7 @@ export class Node {
Content: this._content,
CryptoKeyID: this.CryptoKeyID,
Markdown: this.Markdown,
TimeOffset: -(new Date().getTimezoneOffset()),
}
this.app.request('/node/update', req)
.then(callback)