v1.3.0-beta/release

This commit is contained in:
2020-05-31 18:57:17 -04:00
parent 5428c1e299
commit a25753bcfc
24 changed files with 682 additions and 156 deletions
+7
View File
@@ -0,0 +1,7 @@
module.exports = (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));
};