Datepicker: Fix test for French locale

Ref #10651