use input type "datetime" for date attributes