The function originates from Lotus 1-2-3 where it was called DATEDIF,
MS-Excel called it the same, and ODF just adopted that name. The
DATEDIFF function you mention is something different (VBA?).
I don't know if the function needs to be added to xlformula.cxx and/or
lotform.cxx (see comment in code)
This is still an open question for me.
I do not have Excel, so I can't test if an xls-file with DATEDIF() imports ok.
There is one problem with building: sc/qa/unit/ucalc.cxx produces an error:
I managed to solve this. (I wasn't aware that ucalc.cxx had all functions hardcoded)
Once the xlformula.cxx/lotform.cxx question has been answered, I will submit the patch.
For those who wish to test and comment on it already, I attached the latest diff in the bug-base
Winfried
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.