All your comments have been processed in the code (I learned some new
things too, thank you !).
It now works fine for all possible argument values, including leaving out the
optional value for WEEKNUM and illegal arguments.
Now I will start on seeing how old-style documents are interpreted and how I
can handle that as 'smooth' as possible (unnoticeable for user, I mean).
(It may be after my holidays before you hear from again)
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.