Fix Date editor intialization: use a default format if none is declared + preprocess initialDate