summaryrefslogtreecommitdiff
path: root/src/components/organisms/Date.astro
diff options
context:
space:
mode:
authorJoão Augusto Costa Branco Marado Torres <torres.dev@disroot.org>2025-07-06 22:27:04 -0300
committerJoão Augusto Costa Branco Marado Torres <torres.dev@disroot.org>2025-07-06 22:27:04 -0300
commit449f71511e539878af4c65f073cdc373b469c45e (patch)
tree6c264a77426284d97d1c9b9d7a27a6015c3077a8 /src/components/organisms/Date.astro
parent4ae2b810b68538ba4c287b0c80d6c2e002fe9ddd (diff)
feat: more structured data
Signed-off-by: João Augusto Costa Branco Marado Torres <torres.dev@disroot.org>
Diffstat (limited to 'src/components/organisms/Date.astro')
-rw-r--r--src/components/organisms/Date.astro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/organisms/Date.astro b/src/components/organisms/Date.astro
index c1ec7e5..960cfb7 100644
--- a/src/components/organisms/Date.astro
+++ b/src/components/organisms/Date.astro
@@ -1,8 +1,11 @@
---
+import type { HTMLAttributes } from "astro/types";
+
interface Props {
date: Date;
locales: Intl.LocalesArgument;
options: Intl.DateTimeFormatOptions;
+ itemprop: HTMLAttributes<"time">["itemprop"];
}
const { date, locales, options } = Astro.props;