input type='date' when appropriate