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

            Bug ID: 171694
           Summary: Language specific format not handled by Writer docx
                    input filter
           Product: LibreOffice
           Version: 25.8.6.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Language is not retained for date field formatting in Writer when you export to
foreign file format ooxml (docx). When you save a file with date fields in a
language different from the language of parent object, the field will revert to
parent language.

Steps to Reproduce:
1. Create a character style in Writer
2. Only change the language style; I did Ukrainian, which is different from the
default language of my install
3. Insert a date field with autoupdate and month displayed with name, not
number.
4. Apply the created character style. Observe that month name changes according
to language.
5. Save as Word M365 file (docx)
6. Reopen in Writer

Actual Results:
The date field's month name has reverted to the language of the
paragraph/document.

Expected Results:
Field's month name should appear in the foreign language.


Reproducible: Always


User Profile Reset: No

Additional Info:
When opened in MS Word, the field displays as requested, so it appears that the
export filter foe docx works, but the import filter does not in this situation.

An ODF (odt) file with the same document opens correctly in both LO Writer and
Word/M365.

The situation was uncovered by a question in the "ask.libreoffice" service:
https://ask.libreoffice.org/t/how-to-format-a-date-field-in-a-different-language-in-a-ms-word-document/133958

It was observed in my previous install of version 25.8.6, and persisted after
upgrading to 26.2.2.2.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to