[Libreoffice-bugs] [Bug 133471] New: Not saving (loading?) NarrowName of months properly

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu May 28 09:41:21 UTC 2020


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

            Bug ID: 133471
           Summary: Not saving (loading?) NarrowName of months properly
           Product: LibreOffice
           Version: 6.2.0.0.alpha0+
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: dataLoss
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mihhkel at gmail.com

A couple of locales have DefaultNarrowName defined for months:

Hungarian:
<MonthID>jan</MonthID>
<DefaultAbbrvName>I.</DefaultAbbrvName>
<DefaultFullName>január</DefaultFullName>
<DefaultNarrowName>jan.</DefaultNarrowName>

Estonian (currently only in master):
<MonthID>jan</MonthID>
<DefaultAbbrvName>jaan</DefaultAbbrvName>
<DefaultFullName>jaanuar</DefaultFullName>
<DefaultNarrowName>I</DefaultNarrowName>

The narrow name corresponds to MMMMM in date formats.

When using a date format containing the narrow version of the month name, this
is not preserved after saving & re-opening the document:

- In Calc, the MMMMM gets replaced with MMM when saving as .ods (ODF 1.2
extended). Curiously enough it's saved/loaded correctly to/from .xlsx
(2007-365).

- When using date field in e.g. Writer and setting it to one of the MMMMM
dates, it also gets replaced with MMM code when saving as .odt. When saving to
(or loading from?) .docx, the month part is completely lost.

Same behaviour with 6.4.4 and current master. Behaviour is (easily) testable
only starting from 6.2 when narrow month names became usable with Hungarian
locale.

-- 
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/20200528/b112cbc2/attachment.htm>


More information about the Libreoffice-bugs mailing list