[PUSHED][PATCH] fdo#44456 added calc function DATEDIF as in ODF 1.2

Eike Rathke erack at redhat.com
Mon May 14 05:08:44 PDT 2012


Hi Winfried,

On Wednesday, 2012-05-09 16:49:41 +0200, Winfried Donkers wrote:

> Attached patch adds function DATEDIF to calc as defined in ODF1.2 (6.10.3)

This took a little longer than I expected as I had to figure out what
Excel actually does in DATEDIF. Please see
https://bugs.freedesktop.org/show_bug.cgi?id=44456
for changes I did and test case document. For the final algorithm of the
function itself best take a look at the current interpr2.cxx as
I spoiled it in between myself ...

Some detailed nitpicks in commit comments :-)

Thanks for getting this going!

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120514/2989685b/attachment.pgp>


More information about the LibreOffice mailing list