v1.5.1/release

This commit is contained in:
2020-07-25 20:07:16 -04:00
parent df100fef63
commit 74357d97d3
24 changed files with 703 additions and 10 deletions
+7
View File
@@ -0,0 +1,7 @@
module.exports = function (ds1, ds2) {
const d1 = new Date(ds1);
const d2 = new Date(ds2);
var diff = (d2.getTime() - d1.getTime()) / 1000;
diff /= 60 * 60;
return Math.abs(Math.round(diff));
};