Handle maxDate correctly.
Handle maxDate correctly.

In my timezone, and in the afternoon, maxDate with a fixed date (rather
than an integer value) was disallowing the specified value.

This was because of some DST-related fixes I submitted: this changes
should fix that.

nstaeger/uikit,DecipherNow/uikit,DecipherNow/uikit,dimitrilongo/uikit,nstaeger/uikit,dimitrilongo/uikit