created method to normalize mm/dd/yyyy in views