diff --git a/src/shared/utils/datetime/index.ts b/src/shared/utils/datetime/index.ts index f5ed3cde..b61e6d43 100644 --- a/src/shared/utils/datetime/index.ts +++ b/src/shared/utils/datetime/index.ts @@ -95,9 +95,11 @@ export function formatUtcOffset(iso: string): string { const m = ISO_OFFSET_RE.exec(iso); const off = m?.[6]; if (!off) return ""; - if (off === "Z") return "UTC+00:00"; + // Angular's captioned-time-group renders 'UTC {{ utc }}' — keep the + // non-breaking space so '15:30 UTC +03:00' reads the same across pages. + if (off === "Z") return "UTC\u00A0+00:00"; const normalized = off.includes(":") ? off : `${off.slice(0, 3)}:${off.slice(3)}`; - return `UTC${normalized}`; + return `UTC\u00A0${normalized}`; } /**