From ca8e6824eaa711105f4092365792720c9dde026b Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Thu, 18 Jun 2026 19:21:59 +0100 Subject: remove Astro website --- website/src/components/FormattedDate.astro | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 website/src/components/FormattedDate.astro (limited to 'website/src/components/FormattedDate.astro') diff --git a/website/src/components/FormattedDate.astro b/website/src/components/FormattedDate.astro deleted file mode 100644 index ce700f1..0000000 --- a/website/src/components/FormattedDate.astro +++ /dev/null @@ -1,23 +0,0 @@ ---- -interface Props { - className?: string; - date: Date | string; - hidden?: boolean; -} - -let { className, date, hidden } = Astro.props; -if (typeof(date) === 'string') { - date = new Date(date); -} -const dateStr = - date.toLocaleDateString('en-GB', { - year: 'numeric', - month: 'long', - day: 'numeric', - }); ---- - -{ hidden - ? - : -} -- cgit v1.2.3