Tab removed

This commit is contained in:
Juan Ferrer 2022-10-21 16:37:35 +02:00
parent 6a49bb59b5
commit baff147435
1 changed files with 226 additions and 227 deletions

View File

@ -236,9 +236,9 @@ module.exports = class DbAsync {
this.zongji.ctrlConnection.ping(); this.zongji.ctrlConnection.ping();
await this.db.ping(); await this.db.ping();
} }
} }
function equals(a, b) { function equals(a, b) {
if (a === b) if (a === b)
return true; return true;
const type = typeof a; const type = typeof a;
@ -249,11 +249,10 @@ module.exports = class DbAsync {
return a.getTime() === b.getTime(); return a.getTime() === b.getTime();
} }
return false; return false;
} }
function formatValue(value) { function formatValue(value) {
if (value instanceof Date) if (value instanceof Date)
return value.toJSON(); return value.toJSON();
return value; return value;
} }