fix wrong dates - timestamps are number of seconds, not milliseconds

This commit is contained in:
azivner
2017-10-15 16:39:20 -04:00
parent 649dc0fbbb
commit f2d2dad3d8
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ function randomString(length, chars) {
}
function nowTimestamp() {
return Date.now();
return Date.now() / 1000;
}
function toBase64(plainText) {