changes date inputs to type text