mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
fix wrong dates - timestamps are number of seconds, not milliseconds
This commit is contained in:
@@ -19,7 +19,7 @@ function randomString(length, chars) {
|
||||
}
|
||||
|
||||
function nowTimestamp() {
|
||||
return Date.now();
|
||||
return Date.now() / 1000;
|
||||
}
|
||||
|
||||
function toBase64(plainText) {
|
||||
|
||||
Reference in New Issue
Block a user