From f2f97f1f247260dfb57d2fc967c9beac85dc9bf3 Mon Sep 17 00:00:00 2001 From: Xinyu Shu Date: Mon, 20 Nov 2023 20:26:06 +0100 Subject: [PATCH] Update website/docs/sql/scalar_func/datetime.md Co-authored-by: Michael Haubenschild --- website/docs/sql/scalar_func/datetime.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/sql/scalar_func/datetime.md b/website/docs/sql/scalar_func/datetime.md index 3ba8d25..515ca9d 100644 --- a/website/docs/sql/scalar_func/datetime.md +++ b/website/docs/sql/scalar_func/datetime.md @@ -639,7 +639,7 @@ The `EXTRACT` function for `localized_week` will have the following results: Result: 1 The first day of a week is set to Monday. The first day of the year 2023 -is `2022-12-26`, since this is the first Monday, starting with which, +is `2022-12-26`, since this is the first Monday, starting with which the week has at least 1 day in year 2023. SELECT EXTRACT(localized_week FROM timestamp '2023-01-01', first_day_of_localized_week => 1, minimal_days_in_localized_first_week => 2);