Bug 133471 - Not saving (loading?) NarrowName of months properly
Summary: Not saving (loading?) NarrowName of months properly
Status: NEW
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:
Keywords: dataLoss
Depends on:
Blocks:
 
Reported: 2020-05-28 09:41 UTC by Mihkel Tõnnov
Modified: 2022-12-08 03:25 UTC (History)
2 users (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.
Comment 2 Buovjaga 2020-12-07 17:46:43 UTC
Repro.

Arch Linux 64-bit
Version: 7.2.0.0.alpha0+
Build ID: 43d07ddf487fae1b966abf00a36612b109ed01fc
CPU threads: 8; OS: Linux 5.9; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 7 December 2020
Comment 3 QA Administrators 2022-12-08 03:25:39 UTC
Dear Mihkel Tõnnov,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug