Larger refactoring and added avoidlist

This commit is contained in:
Myx
2023-10-21 05:09:38 +02:00
parent ccf7a218fd
commit 8fd3eeae03
30 changed files with 753 additions and 213 deletions

7
helpers/converters.ts Normal file
View File

@@ -0,0 +1,7 @@
export function dateToString(date: Date): string {
return date.toLocaleString('sv-SE', { timeZone: 'Europe/Stockholm' });
}
export function convertHoursToMinutes(hours: number): number {
return hours * 60;
}