Reworked date & time editing widgets.
Separated out date & time functions to allow them to be edited
separately. This fixes the bugs in issue #4.