import { formatViewLogTime } from './viewLog' // Letzter Portal-Login eines Kunden (Karte „Portal-Zugang“). Rein, unter Node testbar. /** ISO-Zeit -> "dd.mm.yyyy, hh:mm Uhr" in deutscher Zeit; ohne Login "noch nie". */ export function formatLastLogin(iso) { if (!iso) return 'noch nie' const [day, time] = formatViewLogTime(iso).split(' ') return `${day}, ${time} Uhr` }