<script lang="ts">
	import { formatDate } from '$lib/utils/format';

	interface Props {
		iso: string;
	}
	let { iso }: Props = $props();
</script>

<span class="text-xs whitespace-nowrap text-muted-foreground">{formatDate(iso)}</span>
