Update 'notificationnode.js'
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user