From 5b3c096d3c35fbdab6a960caa561fed4fec5cd2f Mon Sep 17 00:00:00 2001 From: zorruno Date: Thu, 26 Jan 2023 13:44:31 +1300 Subject: [PATCH] Update 'notificationnode.js' --- notificationnode.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/notificationnode.js b/notificationnode.js index 878fb6c..23f46bd 100644 --- a/notificationnode.js +++ b/notificationnode.js @@ -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);