change date field -> redraw dateFormat with user pref
fix unit test