mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
initial upload
This commit is contained in:
commit
1c65f10e24
58 changed files with 2533 additions and 0 deletions
6
utils/time.js
Normal file
6
utils/time.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
export const converSecondsToHM = seconds => {
|
||||
const d = new Date(seconds * 1000);
|
||||
const hh = d.getUTCHours();
|
||||
const mm = d.getUTCMinutes();
|
||||
return [hh, mm];
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue