Update DateWidget to allow custom date format
Fix tests