add config to generate the date or not