change summary date input type to date