feat(dates): honest precision-aware date rendering (Phase 4, #666) #677

Merged
marcel merged 16 commits from feature/666-date-rendering into docs/import-migration 2026-05-27 13:19:01 +02:00
Showing only changes of commit 38f065bc60 - Show all commits

View File

@@ -164,6 +164,10 @@ function safeTagColor(color: string | null | undefined): string {
<!-- Mobile-only metadata -->
<div class="mt-3 grid grid-cols-2 gap-x-4 gap-y-1 font-sans text-xs text-ink-2 sm:hidden">
<div>
<!-- Product decision (#666): raw provenance (meta_date_raw) is shown on the
document DETAIL page, never in list/search rows — list rows surface only the
honest label to keep scan-rows compact. showRaw={false} enforces this; the
DocumentListItem payload also intentionally omits metaDateRaw. -->
{#if doc.documentDate}
<DocumentDate
iso={doc.documentDate}