chore(prod): sync with main #4

Merged
dylan merged 67 commits from master into prod 2026-06-25 23:28:52 +01:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 7db25194bc - Show all commits

3
.gitignore vendored
View File

@@ -40,7 +40,8 @@ build/
### Generated Files ###
/videos
outputs/
/outputs
frontend/.flowbite-react
generated
.mvn

View File

@@ -8,7 +8,8 @@ function formatTime(seconds: number): string {
}
function stringToDate(dateString: string): Date {
const date = new Date(dateString.substring(0, 23));
const normalized = dateString.replace(/(\.\d{3})\d+/, "$1");
const date = new Date(normalized);
if (isNaN(date.getTime())) throw new Error("Invalid date string");
return date;
}