Hi,
I have the following problem.
In a spreadsheet, I am entering receipts: recipient name, ID number, sum, and date, where the date is supposed to be in DD/MM/YY format. With right click, “format cells”, I clicked on Category: date, and in the Format Code box I entered DD/MM/YY (replacing MM/DD/YY which originally appeared).
The format example now showed up as 31/12/99, and I clicked OK.
Now, if I type in that field “02/03/20” (March 2), when I press enter, the cell shows “03/02/20”, right aligned. Similarly, if I type any numbers which also comprise a valid MM/DD date, the cell fills with DD and MM reversed.
But, if I type a date which is only valid as DD/MM/YY, such as 13/10/22, it appears LEFT ALIGNED in the cell, as text.
Additionally, any numbers which could be valid as MM/DD get padded, e.g. I typed 1/5/90, and 05/01/90 appeared in the cell. But when I typed “17/4/95”, that’s exactly what the cell showed (left aligned), with no padding.
SO: Calc seems to be totally ignoring the fact that I defined the cell as a DD/MM/YY DATE, and wants to insist on MM/DD/YY.
As a very weak user of LO, I can only assume the error is somehow mine, and would very much appreciate help in doing this correctly.
Version: 24.2.3.2 (X86_64) / LibreOffice Community
Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba
CPU threads: 4; OS: Linux 6.6; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
[edit]
It occurred to me that maybe the “language” of USA English, “forces” MM/DD, so I changed the field to Language UK English. The default format now showed DD/MM/YY, but typing 2/3/99 still filled the cell with 03/02/99.
[/edit]
Thank you!
Shimon