updated calendar widget to show "today" and "tomorrow"

This commit is contained in:
2026-01-23 16:47:56 +01:00
parent c45abb4e40
commit 83bb2c3b65
3 changed files with 21 additions and 4 deletions
+2 -2
View File
@@ -611,7 +611,7 @@ data:
widgets:
# Calendar Events Widget (Órák & Családi)
- type: custom-api
title: Next Events
title: Events Calendar
cache: 5m
url: http://glance-helper.glance-system.svc.cluster.local:8000/calendar/events
parameters:
@@ -695,7 +695,7 @@ data:
{{ $isAllDay := $e.Bool "is_all_day" }}
{{ $calendar := $e.String "calendar" }}
{{ $title := $e.String "title" }}
{{ $startDate := $e.String "start_date" }}
{{ $startDate := $e.String "start_date_relative" }}
{{ $startTime := $e.String "start_time" }}
<div class="cal-item{{ if $isExtra }} cal-extra cal-hidden{{ end }}">