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

            Bug ID: 174407
           Summary: DAYSINYEAR returns incorrect number
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Using Version 26.8.2.2 (X86_64)
The function
  DAYSISYEAR
giving an input date with year 2024, the function returns 365.

This is not correct.

I'd expect 366 as 2024 IS a leap year
  (modulo   4 is zero,
   modulo 100 is non-zero,
   modulo 400 is non-zero),

Please check implementation!

See also https://en.wikipedia.org/wiki/Gregorian_calendar

BR,

Florian
(DE, close to Heidelberg)

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

Reply via email to