Migrate most of the dashboard to pl-api

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-08-25 20:17:52 +02:00
parent 878fdd8646
commit a37d04b300
26 changed files with 260 additions and 649 deletions

View File

@ -24,7 +24,7 @@ const messages = defineMessages({
});
const formatTime = (secondsNum: number): string => {
let hours: number | string = Math.floor(secondsNum / 3600);
let hours: number | string = Math.floor(secondsNum / 3600);
let minutes: number | string = Math.floor((secondsNum - (hours * 3600)) / 60);
let seconds: number | string = secondsNum - (hours * 3600) - (minutes * 60);