:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
import { TZLabel } from 'lib/components/TZLabel'
import { Label } from 'lib/ui/Label/Label'
export const LegacyExperimentDate = ({
label,
date,
'data-attr': dataAttr,
}: {
label: string
date?: string | null
'data-attr'?: string
}): JSX.Element | null => {
if (!date) {
return null
}
return (
<div className="block" data-attr={dataAttr}>
<Label intent="menu">{label}</Label>
<div className="flex">
<TZLabel time={date} />
</div>
</div>
)
}