aboutsummaryrefslogtreecommitdiff
path: root/apps/website/src/components/base/FormattedDate.astro
diff options
context:
space:
mode:
Diffstat (limited to 'apps/website/src/components/base/FormattedDate.astro')
-rw-r--r--apps/website/src/components/base/FormattedDate.astro20
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/website/src/components/base/FormattedDate.astro b/apps/website/src/components/base/FormattedDate.astro
index 1bcce73..af538b9 100644
--- a/apps/website/src/components/base/FormattedDate.astro
+++ b/apps/website/src/components/base/FormattedDate.astro
@@ -1,17 +1,17 @@
---
interface Props {
- date: Date;
+ date: Date
}
const { date } = Astro.props;
---
-<time datetime={date.toISOString()}>
- {
- date.toLocaleDateString('en-us', {
- year: 'numeric',
- month: 'short',
- day: 'numeric',
- })
- }
-</time>
+ <time datetime={date.toISOString()}>
+ {
+ date.toLocaleDateString('en-us', {
+ year: 'numeric',
+ month: 'short',
+ day: 'numeric',
+ })
+ }
+ </time>