import { useIntl } from '@cap-rel/smartcommon'; function DateDisplay({ date }) { const intl = useIntl(); // Utilise la locale courante const formatted = intl.DateTimeFormat(date, undefined, { year: 'numeric', month: 'long', day: 'numeric' }); return {formatted}; }