all lists on 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
  2026-07-31 11:37 ` applied: " Fiona Ebner
  0 siblings, 1 reply; 2+ messages 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] 2+ messages in thread

* applied: [PATCH pve-docs] notifications: fix broken calendar match examples
  2026-07-23 11:42 [PATCH pve-docs] notifications: fix broken calendar match examples Arthur Bied-Charreton
@ 2026-07-31 11:37 ` Fiona Ebner
  0 siblings, 0 replies; 2+ messages in thread
From: Fiona Ebner @ 2026-07-31 11:37 UTC (permalink / raw)
  To: pve-devel, Arthur Bied-Charreton

On Thu, 23 Jul 2026 13:42:58 +0200, Arthur Bied-Charreton wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] notifications: fix broken calendar match examples
      commit: 100c85fb11982d74441696ba4b80d5116c5a12a8




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-31 11:38 UTC | newest]

Thread overview: 2+ messages (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
2026-07-31 11:37 ` applied: " Fiona Ebner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal