export function formatGuestMessageDate(value: string | null, locale: string): string {
  if (!value) return '—';
  const date = new Date(value);
  if (Number.isNaN(date.getTime())) {
    return value;
  }
  return date.toLocaleString(locale, { dateStyle: 'medium', timeStyle: 'short' });
}
