repair: shift db & roles

This commit is contained in:
Muhammad Afif
2025-10-13 11:52:09 +07:00
parent 8de83c2716
commit 9b8cb9d752
5 changed files with 60 additions and 111 deletions

View File

@@ -1,11 +0,0 @@
module.exports = {
formattedTime: (timestamp) => {
let date = new Date(timestamp);
let hours = date.getHours().toString().padStart(2, "0");
let minutes = date.getMinutes().toString().padStart(2, "0");
let seconds = date.getSeconds().toString().padStart(2, "0");
let formattedTime = `${hours}:${minutes}:${seconds}`;
return formattedTime;
},
};