diff --git a/artifacts/tx-os/src/pages/executive-meetings.tsx b/artifacts/tx-os/src/pages/executive-meetings.tsx index 72c2aac4..0bba06bd 100644 --- a/artifacts/tx-os/src/pages/executive-meetings.tsx +++ b/artifacts/tx-os/src/pages/executive-meetings.tsx @@ -120,7 +120,7 @@ import { useNoteLabels } from "@/lib/notes-api"; // #486: reuse the same dialog the upcoming-alert pops, so postponing // from the schedule row quick-actions menu shares one implementation. import { PostponeDialog } from "@/components/executive-meetings/upcoming-meeting-alert"; -import { AnalogClock } from "@/components/executive-meetings/analog-clock"; +import { useNow } from "@/components/clock"; import { formatDate, formatTime as formatTimeI18n, formatWeekday } from "@/lib/i18n-format"; import { safeHtml, htmlToPlainText, wrapAsParagraph } from "@/lib/safe-html"; import { @@ -788,16 +788,27 @@ export default function ExecutiveMeetingsPage() { } function HeaderClock({ lang, date }: { lang: "ar" | "en"; date: string }) { - // The analog dial already conveys the live time — the previous digital - // "HH:MM:SS" string next to it was redundant, so it was removed. We - // keep weekday + date because those are calendar info, not clock info. + // Per user request the analog dial was removed — header now shows a + // live 12-hour digital time (e.g. "م 03:50") next to the weekday + + // date. Re-renders every second via useNow. + const now = useNow(1000); + const time = formatTimeI18n(now, lang, { + hour: "2-digit", + minute: "2-digit", + hour12: true, + }); return (
- +
+ {time} +
{formatWeekday(date, lang, "long")}