coerce datetime to date for date emitter
Merge pull request #26 from dimagi/date

coerce datetime to date for date emitter