Making sure date doesn't affect edit mode