Fixed a bug where the date from the datepicker cannot be parsed.

Fixes 4teamwork/bve.geko#25