Created DateWidgetMixin to unify logic for the three date picker widgets. Fixes #12. Fixes #48.