Writer: Date in footer always resetting to MM/DD/YY

Dear all,

I am using LibreOffice v 6.3.1.2 on Windows 7 64bit. However I have the same issue on Linux Mint 19.1 & 19.2 on several past stable versions of LibreOffice.

I live in europe so I prefer using the DD/MM/YY format. I have a self-made “Writer” template where I have a header and a footer in each page, although the first page is slightly different. I have a date field in the footer booth in the first page and any other page footer.

I set such date fields to the DD/MM/YY format and the field gets displayed correctly. I only need to change the field format on the second page and it will automatically propagate to all other pages (except for the first one). However if I save, close and re-open the document, I will find that in the first page the date format is still correct while in all other pages the date format has reverted to MM/DD/YY.

Is this a bug or am I missing something? Thank you very much.

Example Template.odt

We can’t tell without more technical information. Please edit your question to attach your template (with the “paperclip” tool). While you’re at it, mention your OS and LO version.

Do you make the change in the template or directly on the document? When you reopen the document after a template change, do you get the dialog asking for style update?

Thank you for your quick answer. I edited the question as you requested (hopefully). I tried to make the required change and then “save as template”. Then I open a new document from the template and I find again that the second page has the MM/DD/YY format, even though I saved it with DD/MM/YY

Works here. How do you save? Did you forget to force filetype to template with .odt extension? Sorry for the question, cross-posting you know.

Looks somewhat similar to tdf#127241, which we cannot reproduce yet…

Check whether Language specification turned to Automatic after you have specified your format for page 2. I do also see what you describe and could overcome the behavior by (re-)specifying the format under Additional formats and -important- setting Language different to Automatic.

Ok thank you very much for your hint. Indeed, I did what you suggested and now it works! My default language for documents is English USA, so explicitly specifying Englis USA as the field language solved the problem

For the records (according to last comment of @vittopascu )

Check whether Language specification turned to Automatic after you have specified your format for page 2. To vercome the behavior (re-)specify the format under Additional formats and set Language different to Automatic (e.g. set to English (USA)).

Screenshot (after change from Automatic to English(USA))

Awesome, thanks for making it so clear :slight_smile:

Please consider to click the check mark (:heavy_check_mark:) next to the answer to show others that there is a cprrect answer which helped to fix a problem