Skip to content

Commit 1356631

Browse files
committed
Fix election date for real
1 parent d3686f6 commit 1356631

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/routes/(app)/elections/create/+page.server.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ import { electionSchema } from "../schemas";
77
import * as m from "$paraglide/messages";
88
import dayjs from "dayjs";
99
import utc from "dayjs/plugin/utc";
10+
import timezone from "dayjs/plugin/timezone";
1011

1112
dayjs.extend(utc);
13+
dayjs.extend(timezone);
1214

1315
export const load: PageServerLoad = async ({ locals }) => {
1416
const { prisma } = locals;

0 commit comments

Comments
 (0)