change: viewmodell reading

This commit is contained in:
Julian Krauser 2025-02-08 09:00:50 +01:00
parent 8b08dda934
commit 2e69f87578
7 changed files with 26 additions and 8 deletions

View file

@ -3,6 +3,7 @@ import { MemberStatisticsViewModel, MemberViewModel } from "../../../../viewmode
import { memberView } from "../../../../views/memberView";
import SalutationFactory from "../../settings/salutation";
import CommunicationFactory from "./communication";
import DateMappingHelper from "./dateMappingHelper";
import MembershipFactory from "./membership";
export default abstract class MemberFactory {
@ -59,7 +60,7 @@ export default abstract class MemberFactory {
birthdate: record.birthdate,
todayAge: record.todayAge,
ageThisYear: record.ageThisYear,
exactAge: record.exactAge,
exactAge: DateMappingHelper.mapDate(record.exactAge),
};
}
}