From 5e5138db9fa4f8fb995808a4895e6ce6f7629783 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Mon, 6 Dec 2021 10:32:50 +0200 Subject: Add a bit to the WEEKS comment Change-Id: I8d409149710d25aa93e33f3c46723239156f4d1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126304 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- scaddins/source/datefunc/datefunc.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx index d36e51d21d8b..3ca23c5f0571 100644 --- a/scaddins/source/datefunc/datefunc.cxx +++ b/scaddins/source/datefunc/datefunc.cxx @@ -455,7 +455,8 @@ sal_Int32 GetNullDate( const uno::Reference< beans::XPropertySet >& xOptions ) * * The (consecutive) week number of a date is * std::floor( (date + NullDate - 1), 7.0 ), - * with weeks starting on Monday. + * with weeks starting on Monday, and week 0 + * starting on Monday, 0001-01-01 Gregorian. * * Weeks(d2,d1,m) is defined as -Weeks(d1,d2,m). * -- cgit