Working on the tests I realized that it was my fault: I was using a wrong date format.