mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-14 17:43:04 +00:00
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.
15 lines
504 B
TypeScript
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>
|
|
)
|
|
}
|