Fixed default to date population so that javascript autopop works