UI tests: after fixing #4888 the screenshots showed today's date instead of the past date