Bug 98443 - MINUTE() SECOND() result differ from OpenFormula
Summary: MINUTE() SECOND() result differ from OpenFormula
Status: RESOLVED DUPLICATE of bug 136615
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: https://issues.oasis-open.org/browse/...
Whiteboard: odf
Keywords:
Depends on:
Blocks: Calc-Function
  Show dependency treegraph
 
Reported: 2016-03-05 09:48 UTC by Lionel Elie Mamane
Modified: 2021-12-09 17:11 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
testcase (12.00 KB, application/vnd.oasis.opendocument.spreadsheet)
2016-03-05 09:48 UTC, Lionel Elie Mamane
Details
PDF export (13.17 KB, application/pdf)
2016-03-21 20:27 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lionel Elie Mamane 2016-03-05 09:48:16 UTC
Created attachment 123311 [details]
testcase

Compare the results in the attached spreadsheet in the presence of fractional seconds. What Calc does is *not* what is prescribed by OpenFormula 1.2.

On the other hand, the algorithm in OpenFormula 1.2 leads to aberrations compared to the specification in OpenFormula, namely a "SECOND()" value of 60, while the specification calls for a value of between 0 and 59.

What Calc does is coherent, if suprising to people that use fractional seconds.

Is this a "known bug" in the OpenDocument specification that is slated for fix in the next revision?
Comment 1 Buovjaga 2016-03-21 20:27:35 UTC
Created attachment 123761 [details]
PDF export

Is this showing the wrong results? If yes, set to NEW.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.2.0.0.alpha0+
Build ID: 4bf2b6b2e6641c82e2b714e394482f1a1620b436
CPU Threads: 8; OS Version: Linux 4.4; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8)
Built on March 21st 2016
Comment 2 Lionel Elie Mamane 2016-03-21 20:50:56 UTC
(In reply to Buovjaga from comment #1)

> Is this showing the wrong results? If yes, set to NEW.

Yes, it shows the results that are not what the algorithm in the OpenFormula standard specify.
Comment 3 QA Administrators 2017-05-22 13:20:18 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2021-02-16 04:10:19 UTC Comment hidden (obsolete)
Comment 5 Regina Henschel 2021-12-09 17:11:50 UTC
(In reply to Lionel Elie Mamane from comment #0)
> Is this a "known bug" in the OpenDocument specification that is slated for
> fix in the next revision?

There exists OFFICE-4094 which is resolved for ODF 1.4.

The problem has been reported a second time as bug 136615. I set this one as duplicate.

*** This bug has been marked as a duplicate of bug 136615 ***