refactor the select option page object method
configure the rails to set the date format