progress on filter panel

This commit is contained in:
MathieuG-P
2022-11-21 00:05:20 +01:00
parent f815695298
commit f9edf33097
7 changed files with 248 additions and 31 deletions
+14
View File
@@ -0,0 +1,14 @@
const SECONDS_IN_MINUTE = 60;
const MINUTES_IN_HOUR = 60;
export function min_to_s(minutes: number): number{
return minutes * SECONDS_IN_MINUTE;
}
export function hour_to_min(hours: number): number{
return hours * MINUTES_IN_HOUR;
}
export function hour_to_s(hours: number): number{
return hours * min_to_s(MINUTES_IN_HOUR);
}