Fix first day of the week in datepickers

Fixes #2188