When using HTML5 allow empty dates to be properly displayed

The dates were actually being saved correctly, it was on display that it would default to todays date.

Fixes #2333