Update 'notificationnode.js'

This commit is contained in:
zorruno committed 2023-01-26 13:44:31 +13:00
1 parent 9484d80387
commit 5b3c096d3c
1 file changed
-8
-8
View File
@@ -18,14 +18,6 @@ function secondsToHms(d) {
}
}
// Function to convert unix epoch to 00:00
function epochToFormattedTime(d) {
d = Date(d * 1000);
var h = d.gethours();
var m = "0" + d.getminutes();
return h + ':' + m.substr(-2);
}
// Function to convert unix epoch to 00:00
function epochToFormattedTime(d) {
d = new Date(d * 1000);