export function useDate( iso: string | undefined, locale: string = 'en-gb' ): string { if (!iso) return ''; const date = new Date(iso); const parsedLocale = locale.replace('-', '-').toLocaleUpperCase() return new Intl.DateTimeFormat(parsedLocale, { year: 'numeric', month: 'long', day: '2-digit' }).format(date); }