adding zero prefix if month has one number (like january) and hiding titles if there's no previous events