Pass date to date field instead of time

Fixes #49
Merge pull request #60 from rails-school/fix-dates-on-lesson-edit-49

Pass date to date field instead of time