https://bugs.documentfoundation.org/show_bug.cgi?id=163834

Regina Henschel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |[email protected]
     Ever confirmed|0                           |1

--- Comment #2 from Regina Henschel <[email protected]> ---
I think, it is an error in
https://opengrok.libreoffice.org/xref/core/sc/source/core/data/conditio.cxx?r=621caf93#1649

condformat::NEXTWEEK is true, when rActDate+7 fulfills the conditions of
THISWEEK. And condformat::LASTWEEK is true, when rActDate-7 fulfills the
conditions of THISWEEK.

That is true for all cases but LASTWEEK case sunday.
It should be
begin = rActDay-7, end = rActDay-7 + 6
but it is
begin = rActDay-8, end = rActDay-1

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to