Bug 133471 - Not saving (loading?) NarrowName of months properly
Summary: Not saving (loading?) NarrowName of months properly
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords: dataLoss
Depends on:
Blocks:
 
Reported: 2020-05-28 09:41 UTC by Mihkel Tõnnov
Modified: 2020-07-29 19:34 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mihkel Tõnnov 2020-05-28 09:41:21 UTC
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.
Comment 1 Mihkel Tõnnov 2020-05-28 09:46:44 UTC
@László: this might be interesting for you, too.