Rewrote the date-select.

Simpler design this time.