teqo-backup/src/components/campaign/CampaignDataFreshness.tsx
Francisco Ignácio Fontoura Solla e80f4030cb Polish /campanha Field Desk UX and register FD+/FD2 follow-ups.
Align the campaign desk with quieter KPI strips, queues-first dashboard, shared shells, and advanced filters; capture Impeccable design context and the remaining simplify/critique debts on the roadmap.
2026-07-19 08:17:12 -03:00

15 lines
504 B
TypeScript

import { cn } from '@/lib/utils'
import { formatBahiaDateTimeLabel } from '@/utilities/campaignTime'
/** Request-time aggregate stamp — absolute Bahia time on hover. */
export const CampaignDataFreshness = ({ asOf, className }: { asOf: Date; className?: string }) => {
const iso = asOf.toISOString()
return (
<p className={cn('text-xs text-muted-foreground', className)}>
<time dateTime={iso} title={formatBahiaDateTimeLabel(iso)}>
Atualizado agora
</time>
</p>
)
}