forked from Blendman974/faceclaw
Calendar app: list an ongoing multi-day event under today, with its span
A three-day all-day event showed only under its first day, so on day three
the app had nothing under Today. An event that began on an earlier day and is
still going is now listed under today, and an event covering more than one
day shows its span ("Mon 16 – Wed 18 Nov").
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2e7ca866a8
commit
e94b373431
4 files changed
+100
-3
No files matched your search
@@ -163,7 +163,7 @@ function screenFixture() {
|
||||
'util/numeric-util': { clamp: (n, min, max) => Math.max(min, Math.min(max, n)) },
|
||||
};
|
||||
const modules = depth => Object.fromEntries(Object.entries(common).map(([key, value]) => [depth + key, value]));
|
||||
const calendar = load('app/apps/calendar/calendar.ts', modules('../../'));
|
||||
const calendar = load('app/apps/calendar/calendar.ts', { ...modules('../../'), './event-days': load('app/apps/calendar/event-days.ts') });
|
||||
const widget = load('app/apps/glanceboard/widgets/calendar-widget.ts', {
|
||||
...modules('../../../'), '../../calendar/calendar': calendar,
|
||||
'../glance-font': { glanceFont: { small: () => font, medium: () => font } },
|
||||
|
||||
Reference in new issue
Block a user