From 653d9d6a01a59025f61b14de29b274285e90afff Mon Sep 17 00:00:00 2001 From: Yusuf Bouzekri Date: Tue, 26 Mar 2024 14:21:41 +0100 Subject: [PATCH] Revert "Testing time in current timezone" --- src/pages/notes/index.astro | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) 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); >