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

            Bug ID: 97631
           Summary: cell with =24/2 formatted as date causes saved file to
                    violate specification
           Product: LibreOffice
           Version: 5.0.4.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

To reproduce:

    create a new file
    put =24/2 into A1 cell
    format A1 cell as time (Format | Number Format | Time)
    save as test.ods

Time format may be also achieved by putting 23:00 in A2 and copying format from
A2 to A1 cell.

This cell is saved as "<table:table-cell table:formula="of:=24/2"
office:value-type="time" 
office:time-value="PT288H00M00S"><text:p>00:00:00</text:p></table:table-cell>"
what appears to violate specification - see
http://books.evc-cit.info/odbook/ch05.html#table-number-cells-section

Problem encountered as it crashed python library processing .ods files - see
https://github.com/pyexcel/pyexcel-ods/issues/6

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

Reply via email to