From 92560a73bd08f05a5f43489a6e4a60f03fc502d5 Mon Sep 17 00:00:00 2001 From: Kerry Archibald Date: Tue, 12 Apr 2022 11:23:55 +0200 Subject: [PATCH] add 0 = Sunday to day format Signed-off-by: Kerry Archibald --- proposals/3767-time-based-notification-filtering.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposals/3767-time-based-notification-filtering.md b/proposals/3767-time-based-notification-filtering.md index 098fca74b..1c59824b4 100644 --- a/proposals/3767-time-based-notification-filtering.md +++ b/proposals/3767-time-based-notification-filtering.md @@ -24,7 +24,7 @@ to filter based on time of day and day of week. | key | type | value | description | Required | | ---- | ----| ----- | ----------- | -------- | | `time_of_day` | string[] | tuple of `hh:mm` time | Tuple representing start and end of a time interval in which the rule should match. Times are [ISO 8601 formatted times](https://en.wikipedia.org/wiki/ISO_8601#:~:text=As%20of%20ISO%208601%2D1,minute%20between%2000%20and%2059.). Times are inclusive | Optional. When omitted all times are matched. | -| `day_of_week` | number[] | array of integers 1-7 | An array of integers representing days of the week on which the rule should match, where 1 = Monday, 7 = Sunday | **Required** | +| `day_of_week` | number[] | array of integers 0-7 | An array of integers representing days of the week on which the rule should match, where 0 = Sunday, 1 = Monday, 7 = Sunday | **Required** | - `time_of_day` condition is met when the server's timezone-adjusted time is between the values of the tuple, or when no