update renderMonth to be able to take a date