diff --git a/src/routes/racepicks/+page.svelte b/src/routes/racepicks/+page.svelte index 1907a4a..d0f09f4 100644 --- a/src/routes/racepicks/+page.svelte +++ b/src/routes/racepicks/+page.svelte @@ -19,7 +19,7 @@ RACE_PICTOGRAM_HEIGHT, RACE_PICTOGRAM_WIDTH, } from "$lib/config"; - import { format_date } from "$lib/date"; + import { format_date, shortdatetimeformat } from "$lib/date"; import type { CurrentPickedUser, RacePick } from "$lib/schema"; import { get_by_value, get_driver_headshot_template } from "$lib/database"; @@ -53,8 +53,6 @@ ), ); - const dateformat: string = "dd.MM' 'HH:mm"; - const race_popupsettings = (target: string): PopupSettings => { return { event: "click", @@ -87,20 +85,21 @@ {#if data.currentrace.sprintdate}