Added support for dates without time to dates plugin. Fixes issue #39