public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH pve-docs] notifications: fix broken calendar match examples
@ 2026-07-23 11:42 Arthur Bied-Charreton
  0 siblings, 0 replies; only message in thread
From: Arthur Bied-Charreton @ 2026-07-23 11:42 UTC (permalink / raw)
  To: pve-devel

The calendar matcher examples showed weekday ranges as start-end. The
correct syntax is start..end - these example configs do not parse.

Update the examples to the correct a..b range syntax.

Signed-off-by: Arthur Bied-Charreton <a.bied-charreton@proxmox.com>
---
 notifications.adoc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/notifications.adoc b/notifications.adoc
index ea8fc75..1eeec3b 100644
--- a/notifications.adoc
+++ b/notifications.adoc
@@ -319,8 +319,8 @@ configurable schedule.
 
 * `match-calendar 8-12`
 * `match-calendar 8:00-15:30`
-* `match-calendar mon-fri 9:00-17:00`
-* `match-calendar sun,tue-wed,fri 9-17`
+* `match-calendar mon..fri 9:00-17:00`
+* `match-calendar sun,tue..wed,fri 9-17`
 
 [[notification_matchers_field]]
 Field Matching Rules
@@ -359,12 +359,12 @@ Examples
 ~~~~~~~~
 ----
 matcher: workday
-        match-calendar mon-fri 9-17
+        match-calendar mon..fri 9-17
         target admin
         comment Notify admins during working hours
 
 matcher: night-and-weekend
-        match-calendar mon-fri 9-17
+        match-calendar mon..fri 9-17
         invert-match true
         target on-call-admins
         comment Separate target for non-working hours
-- 
2.47.3




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-23 11:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-23 11:42 [PATCH pve-docs] notifications: fix broken calendar match examples Arthur Bied-Charreton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal