// utils/string.js export const DEFAULT_LOCALE = "fr-FR"; export function capitalize(str) { if (!str) return ''; return str.charAt(0).toUpperCase() + str.slice(1).toLowerCase(); } export default function formatName(firstName, lastName) { return `${lastName.toUpperCase()} ${capitalize(firstName)}`; }