fixed creating events that end before the current time, events that end at midnight
Merge pull request #40 from dkumar/form_bug_fixes

fixed creating events that end before the current time, events that end ...