(These two files were attached by the OQ on request. For unknown reasons the process was not quite successfull. I only am editing this post to make accessible both these files here. Lupp)
DateFormatErrors.odt
AnUnnamedCalcFile.ods
(Another attachment was added later. Again I clean it up a bit. Lupp)
AgainDateFormatProblems.doc
I have a problem converting text to dates in Writer for sorting. The background is that I had a large (83 pages) table in Word which I have transferred to Libre Writer. I sort this table in date sequence as well as other sorts. The date is entered as text, not number, as mm/yy eg 10/15 for Oct 2015. This sort worked in Word, sorting in year sequence but it doesn’t in Writer. I have tried converting these dates to number and date format in Writer but the conversion raises several problems before even attempting to sort. (See attached examples).
As can be seen, I have entered some random dates (in MM/YY format) in the first column. In the second column I have entered the same dates but formatted them as mm/yy. The first problem - all post 2012 dates convert to 12/99 as can be seen.
I then used a simple formulae in the next column again converting to mm/yy format. Again all post 2012 dates convert to 12/99. However, pre 2012 dates seem to be assumed to be in dd/mm format and assumes 2016, again giving totally the wrong answer.
Obviously, none of this enables correct sorting! In trying to sort, I also note another problem in that 2010 sorts before 2002 to 2012!
Trying to do the same thing in Calc produces similar problems but I’d far rather just solve the problems in Writer.
Have I discovered some software bugs? Or am I missing something obvious?
Any help would be gratefully appreciated as I don’t want to go through a mammoth exercise of re-entering all the dates.
Many thanks