[Libreoffice-bugs] [Bug 118850] Custom time format changes to default upon load (only those saved from older versions)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Sep 4 19:43:53 UTC 2018


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

Eike Rathke <erack at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|libreoffice-bugs at lists.free |erack at redhat.com
                   |desktop.org                 |

--- Comment #12 from Eike Rathke <erack at redhat.com> ---
Thanks.

Base of the problem is that the 5.0 version (and earlier?) did not store the
cell as time cell, so when loading the explicitly set en-US locale leads to the
default number format (of that cell type, i.e. float number) of that locale
being applied. Which again with some twisted logic is needed if there is no
cell style but a cell type ...

Attached sample stored with 5.0:

          <table:table-cell office:value-type="float" office:value="0.333333"
calcext:value-type="float">

Stored with 6.2/master:

          <table:table-cell office:value-type="time"
office:time-value="PT07H59M59.9712S" calcext:value-type="time">

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180904/857c0f05/attachment.html>


More information about the Libreoffice-bugs mailing list