/**
 * Formats an ISO date string to a short French locale date+time display.
 * Used by schedule components to show the last synchronization timestamp.
 */
export function formatSyncDate(iso: string | null): string {
	if (!iso) return '';
	return new Date(iso).toLocaleString('fr-FR', {
		day: '2-digit',
		month: '2-digit',
		hour: '2-digit',
		minute: '2-digit'
	});
}
