The problem was how the data was inserted. Even if the cells were formatted as Date, having analyzed them in more detail, I found that the values ββare preceded by an "apostrophe". Thus, LibreOffice treats them as a text string, not a period of time. Removing the apostrophe solved the problem.
Gianluca
source share