Change the type of some inputs from 'text' to 'date'