remove date from months, add year and month strings