make dateinput work again by using the fixed name "date" as expected by the pstruct schema
same issue in timeinput as dateinput
remove unused "name" variables
Merge pull request #4 from tisdall/fix_dateinput

Fix dateinput