Writer changes date format AND date itself on re-opening the document

I use LibreOffice 7.1.7 on Windows. I use the Dutch version. I insert a date and choose the option that it does NOT change and save it as a docx file. When I reopen it the date is set to today AND it is in English. The rest of my document is still in Dutch. When I use the native format of writer it stays like I put it in when i reopen the file. I like to save my files in MSOffice format.
So how can I prevent this from happening?
Thanks in advance.

What is your reason for saving .doc(x)? Your purpose may suggest a solution.

I used MSOffice while still working and after that gave it up. When saving in MS format I keep all my options open to other programs.

Edit different file formats in LibreOffice

Recommendation for a clean working with LibreOffice when different office programs are used

Take the suggested procedures to heart and save yourself further trouble.


What are the functional differences between Word and Writer?

1 Like

To put your mind at rest, see the list of some of the applications with support for Open Document Format, OpenDocument - Wikipedia. Cheers, Al

Grins… yes I must be able to choose one from these if I want to leave LibreOffice. Thanks a lot! This ā€˜solves’ my problem :slight_smile:

  • Sorry. I’m missing info about the versions of LibO and .docx ā€œstandardā€ you used [currently Word 2007-365 or Open Office XML Text (Transitional)]. The complications are by MS, not by LibO.
  • I also am missing a small example document attached here: Same source first saved as .odt, then without any changes to the content as .docx.
  • Everything related to dates (if not entered simply as texts) may be messed up to some degree by the lack of generally and -by office software- globally applied standards.
  • The term ā€œfile formatā€ is misleading. Yo actually can’t wrap the exactly same thing into different ā€œformatsā€ in the office world.
  • Concerning fix date/time/datetime you should be able to avoid effects from the dark and bad surprises by converting the primarily used text fields to ordinary text before saving the document.
  • If you (somebody) is considering to apply my related user code, you find it (basically unchanged since 2019-02-08) in the attached example. Warning: I rarely use it myself. There fore it may contain unnoticed flaws or bugs.

Harmonize_Stringify_InsertFormattedDateTimeFields_4a.odt (33.8 KB)
I’m not sure if I published the code previously somewhere. If so: One default was recently changed to ā€œDon’t convert unfixed date/time to stringā€.

You can fix it using the native document format of the application you are using. In this particular case Open Document Format (ODF) which is an international standard. OOXML (docx, xlsx etc) as used by MS Office does not strictly conform to any standard.

1 Like

Yes. It works in LO native format.

1 Like

Thanks… I realize I can just type the date too… but I used this option in MSOffce all the time and like to continue that. When I used OO years ago on Linux it worked fine. I suppose it is a bug that should be fixed.

Thank you all for responding.
I understand it saves me a lot of trouble to stay with LibreOffices own format.
EarnestAl indeed put my mind at ease. If I would want to leave LibreOffice, there are plenty of programs that read the LO format.
It is great to experience how this community works :slight_smile:

You can’t tell it is a bug. All formatting and features are only guaranteed in .odt. Field name and API are not the same in ODF and M$ format. So I suspect some conversion issue.

You are right :slight_smile: Well I hope it can be fixed.

Originally posted as answer by error. It was before @erafokkema ā€œThanksā€¦ā€.