From f3ddb9d1ba45bc97711a220fe096af9d9efea716 Mon Sep 17 00:00:00 2001 From: João Augusto Costa Branco Marado Torres Date: Tue, 5 Aug 2025 20:19:25 +0100 Subject: fix: HTML MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Augusto Costa Branco Marado Torres --- src/components/templates/signature/Commit.astro | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'src/components/templates/signature/Commit.astro') diff --git a/src/components/templates/signature/Commit.astro b/src/components/templates/signature/Commit.astro index 328a8f9..c0cdf5f 100644 --- a/src/components/templates/signature/Commit.astro +++ b/src/components/templates/signature/Commit.astro @@ -1,4 +1,5 @@ --- +import Date from "@components/organisms/Date.astro"; import { gitDir } from "@lib/git"; import type { Commit } from "@lib/git/types"; import { toIso8601Full } from "@utils/datetime"; @@ -7,14 +8,10 @@ type Props = { commit: Commit; lang: string }; const dir = await gitDir(); const { hash, files, author, committer, signature } = Astro.props.commit; - -const formatter = new Intl.DateTimeFormat([Astro.props.lang], { - dateStyle: "short", - timeStyle: "short", -}); ---
+

Commit do git

Informações sobre o último commit que modificou ficheiros relacionados a @@ -32,9 +29,11 @@ const formatter = new Intl.DateTimeFormat([Astro.props.lang], { :
Nenhum ficheiro modificado
}
- Autor () + Autor ()
{author.name} <{ @@ -42,9 +41,11 @@ const formatter = new Intl.DateTimeFormat([Astro.props.lang], { }>
- Commiter () + Commiter ()
{committer.name} <{ -- cgit v1.2.3