v.1.4.3/api update
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
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));
|
||||
};
|
||||
Reference in New Issue
Block a user