add chron to coreVM

This commit is contained in:
marlon-erler
2026-04-16 11:56:42 +00:00
parent 75faa40797
commit cae717066a
5 changed files with 96 additions and 10 deletions
+10 -3
View File
@@ -63,9 +63,16 @@ export function MonthGrid<T>(
() => selectedDate.value == parseInt(date),
);
const isToday: boolean =
monthGrid.isCurrentMonth == true &&
parseInt(date) == new Date().getDate();
const isToday = React.createProxyState(
[coreViewModel.todayDate],
() => {
return (
monthGrid.isCurrentMonth == true &&
date ==
coreViewModel.unwrappedTodayDate.getDate().toString()
);
},
);
const eventCount: React.State<number> =
React.createProxyState(