File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/routes/(app)/elections Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 33 import type { PageData } from " ./$types" ;
44 import * as m from " $paraglide/messages" ;
55 import MarkdownBody from " $lib/components/MarkdownBody.svelte" ;
6- import { languageTag } from " $paraglide/runtime" ;
76 import { isAuthorized } from " $lib/utils/authorization" ;
87 import apiNames from " $lib/utils/apiNames" ;
98 import CommitteeIcon from " $lib/components/images/CommitteeIcon.svelte" ;
9+ import dayjs from " dayjs" ;
1010 export let data: PageData ;
1111 </script >
1212
4545 <MarkdownBody body ={election .markdown } />
4646 <p class =" text-center font-bold" >
4747 {m .elections_close ()}
48- {election .expiresAt . toLocaleDateString ( languageTag () )}
48+ {dayjs ( election .expiresAt ). format ( " YYYY-MM-DD " )}
4949 </p >
5050 <div class =" card-actions self-center" >
5151 <a
You can’t perform that action at this time.
0 commit comments