https://bugs.freedesktop.org/show_bug.cgi?id=69569

--- Comment #2 from Christian Fries <[email protected]> ---
Note: I have checked the modifications made by Lionel Elie Mamane at
http://cgit.freedesktop.org/libreoffice/core/commit/?id=0f002a14ecdc445deb2bc8d4cc6fbe4b724ac7f6&h=libreoffice-4-1
- just looking at the code, since I have no access to the daily build.

It appears as if this modification makes LibreOffice consistent with the
documentation BUT not consistent with Excel's implementation of YEARFRAC.

To make that precise. If you take the implementation at
http://svn.finmath.net/finmath%20lib/trunk/src/main/java/net/finmath/time/daycount/DayCountConvention_ACT_ACT_YEARFRAC.java

the difference is in the line
            if(isStartLeapYear && isEndLeapYear)
here LibreOffice uses
            if(isStartLeapYear && !isEndLeapYear)
instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to