Improved the datepicker widget.