[frameworks-kholidays] [Bug 434027] Easter calculation causes division by zero for some negative years

Allen Winter bugzilla_noreply at kde.org
Sat Mar 13 13:13:47 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=434027

Allen Winter <winter at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kholidays/commit/e4f
                   |                            |65e74a84d90b6c1b24d8dd08dd3
                   |                            |df5cc0ab86
         Resolution|---                         |FIXED

--- Comment #5 from Allen Winter <winter at kde.org> ---
Git commit e4f65e74a84d90b6c1b24d8dd08dd3df5cc0ab86 by Allen Winter.
Committed on 13/03/2021 at 13:06.
Pushed by winterz into branch 'master'.

handle negative years in easter and pascha calculations.

in easter() and pascha(), return an invalid QDate when
a negative year is specified.

M  +7    -0    src/parsers/plan2/holidayparserdriverplan.cpp

https://invent.kde.org/frameworks/kholidays/commit/e4f65e74a84d90b6c1b24d8dd08dd3df5cc0ab86

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


More information about the Kdepim-bugs mailing list