Fixes date time widget.