Add support for picking date only or time only

Having multiple plugins to support rendering date pickers, time pickers and datetime pickers is a pain. I added support for optional date-only or time-only pickers.
If you find it useful, go ahead and merge this change.