diff --git a/src/pages/notes/index.astro b/src/pages/notes/index.astro index 26c0729..80a9f03 100644 --- a/src/pages/notes/index.astro +++ b/src/pages/notes/index.astro @@ -1,12 +1,10 @@ --- import { db, Note } from "astro:db"; const notes = await db.select().from(Note).orderBy(desc(Note.published)); -import timezone from "dayjs/plugin/timezone"; import BaseLayout from "../../layouts/BaseLayout.astro"; import Link from "../../components/Link.astro"; import { desc } from "astro:db"; import dayjs from "dayjs"; -dayjs.extend(timezone); --- @@ -30,15 +28,9 @@ dayjs.extend(timezone); >