Fixed date picker bug with value smaller than minimum date.

Update the date picker so show the correct month if the value is smaller than
the minimum allowed date.

see https://github.com/A24Group/Triage/pull/5494#issuecomment-37179961
issue A24Group/Triage#5422